Loading

Paste #pxlq0bp5p

  1. diff --git a/CorsixTH/Lua/world.lua b/CorsixTH/Lua/world.lua
  2. index 1a6d6e4..36388fe 100644
  3. --- a/CorsixTH/Lua/world.lua
  4. +++ b/CorsixTH/Lua/world.lua
  5. @@ -913,7 +913,6 @@ function World:setSpeed(speed)
  6.    if self:isCurrentSpeed(speed) then
  7.      return
  8.    end
  9. -  local pause_state_changed = nil
  10.    if speed == "Pause" then
  11.      -- stop screen shaking if there was an earthquake in progress
  12.      if self.active_earthquake then
  13. @@ -921,7 +920,6 @@ function World:setSpeed(speed)
  14.      end
  15.      -- By default actions are not allowed when the game is paused.
  16.      self.user_actions_allowed = TheApp.config.allow_user_actions_while_paused
  17. -    pause_state_changed = true
  18.    elseif self:getCurrentSpeed() == "Pause" then
  19.      self.user_actions_allowed = true
  20.    end

Comments