From e5bb2c2c69bf5bbbaebae32b0f6f1069ebce8a4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C5=82awomir=20Lach?= <slawek@lach.art.pl>
Date: Fri, 29 Jul 2022 13:38:02 +0200
Subject: [PATCH] =?UTF-8?q?!OSDN=2045253:=20S=C5=82awomir=20Lach=20<slawek?=
 =?UTF-8?q?@lach.art.pl>?=
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.
---
 tools/ruleutil/rulesave.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/ruleutil/rulesave.c b/tools/ruleutil/rulesave.c
index 9829f81c29..14c67c5930 100644
--- a/tools/ruleutil/rulesave.c
+++ b/tools/ruleutil/rulesave.c
@@ -1749,7 +1749,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

