Permalink
Browse files

Fix multigesture afterLoad

  • Loading branch information...
TheCycoONE committed Dec 4, 2017
1 parent 91e77ad commit e88ac8e80d7053cd5446a4a13ca78324612022ac
Showing with 2 additions and 2 deletions.
  1. +1 −1 CorsixTH/Lua/app.lua
  2. +1 −1 CorsixTH/Lua/game_ui.lua
View
@@ -28,7 +28,7 @@ local runDebugger = dofile "run_debugger"
-- Increment each time a savegame break would occur
-- and add compatibility code in afterLoad functions
local SAVEGAME_VERSION = 121
local SAVEGAME_VERSION = 122
class "App"
View
@@ -1141,7 +1141,7 @@ function GameUI:afterLoad(old, new)
if old < 115 then
self.shake_screen_intensity = 0
end
if old < 118 then
if old < 122 then
self.multigesturemove = {x = 0.0, y = 0.0}
end
return UI.afterLoad(self, old, new)

0 comments on commit e88ac8e

Please sign in to comment.