Permalink
Browse files

Merge pull request #1302 from TheCycoONE/multigesture_fix

Fix multigesture afterLoad
  • Loading branch information...
Alberth289346 committed Dec 6, 2017
2 parents 91e77ad + e88ac8e commit 63afae1554a2abeba225d5865f5ea77b18e73c78
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 63afae1

Please sign in to comment.