settings_gui.c
changeset 42 567add3568d6
parent 26 4c08274a29dc
child 46 c9bdf1d58df6
--- a/settings_gui.c	Fri Aug 13 18:55:25 2004 +0000
+++ b/settings_gui.c	Fri Aug 13 19:18:53 2004 +0000
@@ -596,6 +596,11 @@
 			}
 			DoCommandP(0, -1, _opt_mod_temp.diff_level, NULL, CMD_CHANGE_DIFFICULTY_LEVEL);
 			DeleteWindow(w);
+			// If we are in the editor, we should reload the economy.
+			//  This way when you load a game, the max loan and interest rate
+			//  are loaded correctly.
+			if (_game_mode == GM_EDITOR)
+				StartupEconomy();
 			break;
 		}
 		case 11: // Cancel button - close window