Actions
Bug #1844
openruledit/ruleup: bug saving helptext for Counters
Start date:
12/27/2025
Due date:
% Done:
0%
Estimated time:
Description
Repro -
1 edit sandbox/game.ruleset, add helptext="Helptext for Turn_Owned1" to the Turn_Owned1 Counter
2 run ruledit on the sandbox ruleset and save
3 the resulting game.ruleset in ruledit-tmp is now missing that helptext
Problem is in rulesave.c routine save_game_ruleset() -
save_strvec(sfile, pcounter->helptext, "%s.helptext", path);
last 2 params are switched/wrong.
Files
Actions