fix: block pause during events
This commit is contained in:
parent
83d3bfa775
commit
d4fd401ee4
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue