fix: block pause during events

This commit is contained in:
Kazhnuz 2021-03-22 16:14:07 +01:00
parent 83d3bfa775
commit d4fd401ee4

View file

@ -68,10 +68,12 @@ end
function OverWorld:startEvent() function OverWorld:startEvent()
self.world.isActive = false self.world.isActive = false
self.canPause = false
end end
function OverWorld:endEvent() function OverWorld:endEvent()
self.world.isActive = true self.world.isActive = true
self.canPause = true
end end
function OverWorld:showMessage(message) function OverWorld:showMessage(message)