Topic: LUA: allow_saving = false
kaputtnik Topic Opener |
Posted at: 2020-07-18, 17:23
I have trouble to disallow saving in a scenario. According to https://www.widelands.org/documentation/autogen_wl/#wl.Game.allow_saving i thought it might be enough to write:
bu it does not work. Attached a minimalistic scenario, containing only an init.lua with the line shown above at the end of it. If i start this scenario, i can save the game. What do i miss? Top Quote |
Nordfriese |
Posted at: 2020-07-18, 17:32
It's a bug in Widelands. This function affects only the SaveHandler that handles Autosaves ( Top Quote |
kaputtnik Topic Opener |
Posted at: 2020-07-18, 17:57
Thanks Knowing that it works for autosaves is enough for my scenario Top Quote |