From 3122448b86fb9a15468b49b2ae72edeae941d168 Mon Sep 17 00:00:00 2001 From: Daniel Trujillo Viedma Date: Sat, 2 Jul 2016 17:46:49 +0200 Subject: [PATCH] Fix #3969: Custom currency's gets reset when closing the game Custom currency loading code was being called from a not usually reached place. --- src/config.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config.c b/src/config.c index d17577c8d7..a834af0a1d 100644 --- a/src/config.c +++ b/src/config.c @@ -476,11 +476,10 @@ bool config_open_default() config_get_default_path(path); if (config_open(path)) { config_apply_to_old_addresses(); + currency_load_custom_currency_config(); return true; } - currency_load_custom_currency_config(); - return false; }