From 955cef3b10fb81e63f81b703a30464aec8ace3e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Lach?= Date: Thu, 28 Jul 2022 15:18:38 +0200 Subject: [PATCH] =?UTF-8?q?!OSDN=2045253:=20S=C5=82awomir=20Lach=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From now ruleset counters will be saved in properl format. diff --git a/tools/ruleutil/rulesave.c b/tools/ruleutil/rulesave.c index e34e9d855a..5d3492084d 100644 --- a/tools/ruleutil/rulesave.c +++ b/tools/ruleutil/rulesave.c @@ -1736,7 +1736,7 @@ static bool save_game_ruleset(const char *filename, const char *name) save_name_translation(sfile, &(pcounter->name), path); - save_default_int(sfile, pcounter->def, 0, path,"default"); + save_default_int(sfile, pcounter->def, 0, path,"def"); save_default_int(sfile, pcounter->checkpoint, 0, path,"checkpoint"); secfile_insert_str(sfile, counter_behaviour_name(pcounter->type), "%s.type", path); -- 2.37.1