Skip to content

Commit

Permalink
Merge pull request #287 from Revolutionary-Games/285-save-load-malfor…
Browse files Browse the repository at this point in the history
…med-microbe

Game loading now initializes microbe-stage state before loading to overwrite changed data.
Fixes #285
  • Loading branch information
Moopli committed Feb 16, 2015
2 parents 2de8285 + 81e2665 commit a0cc2d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/main_menu/main_menu_hud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a0cc2d3

Please sign in to comment.