From 690400a2ac80ac7d1f8d6dc3d58b89aa260b23cb Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 10 Jun 2023 00:04:09 +0300 Subject: [PATCH 44/44] Editor: Set created player's infra_points to zero For consistency with how gold is handled. See osdn #48204 Signed-off-by: Marko Lindqvist --- server/edithand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/edithand.c b/server/edithand.c index 0c305dee6f..71ae595b80 100644 --- a/server/edithand.c +++ b/server/edithand.c @@ -957,6 +957,7 @@ void handle_edit_player_create(struct connection *pc, int tag) pplayer->server.got_first_city = FALSE; pplayer->economic.gold = 0; + pplayer->economic.infra_points = 0; player_limit_to_max_rates(pplayer); presearch = research_get(pplayer); -- 2.39.2