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
#1
Updated by Dean Brown 4 days ago
- File 1844_S3_2.patch 1844_S3_2.patch added
- File 1844_S3_3&Main.patch 1844_S3_3&Main.patch added
- Subject changed from ruledit: bug saving helptext for Counters to ruledit/ruleup: bug saving helptext for Counters
Also applies to ruleup.
Actions