widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #03281
Re: [Merge] lp:~widelands-dev/widelands/bug-1281823 into lp:widelands
No, in the editor it is correct to always change the initial_res_amount too - there is no difference between the too there. And in game you should never touch that. What happens when amount > initial_amount I do not know but there is no reason to change the value if the scripter wants exactly that.
So you will need to check if you are in the editor or in game.
--
https://code.launchpad.net/~widelands-dev/widelands/bug-1281823/+merge/242837
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1281823.
References