Hey people,
I'm having a strange error saving a game to a .json file.
The error I'm getting is "ERROR: storeline: Condition ' !f ' is true."
It seems to come from the line of code "savegame.storeline(tojson(fases))"
This is not crashing the game and the game saves and loads normally (both exported and inside the editor).
It's really annoying though.
Any clue to what could be causing it?
The code:
func saveGame():
var save_game = File.new()
save_game.open("user://data.save", File.WRITE)
save_game.store_line(to_json(fases))
save_game.store_line(to_json(picks))
save_game.store_line(to_json(disp))
*fases, picks and disp are just lists with 1s and 0s
Thanks!