From 81e26650aa8cd9e0aaf94c0e889f96de1960fa5e Mon Sep 17 00:00:00 2001 From: Filip Burlacu Date: Mon, 16 Feb 2015 12:18:37 -0500 Subject: [PATCH] Fixes #285 Game loading now initializes microbe-stage state before loading to overwrite changed data. --- scripts/main_menu/main_menu_hud.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/main_menu/main_menu_hud.lua b/scripts/main_menu/main_menu_hud.lua index 7fdd36c3430..0dcf3c32089 100644 --- a/scripts/main_menu/main_menu_hud.lua +++ b/scripts/main_menu/main_menu_hud.lua @@ -37,6 +37,7 @@ end function mainMenuLoadButtonClicked() local guiSoundEntity = Entity("gui_sounds") guiSoundEntity:getComponent(SoundSourceComponent.TYPE_ID):playSound("button-hover-click") + Engine:setCurrentGameState(GameState.MICROBE) Engine:load("quick.sav") print("Game loaded"); end