Refactor pause handling; implement GameBus for pause state management and update event popup behavior
This commit is contained in:
@@ -50,7 +50,7 @@ public partial class EventManager : Node
|
||||
|
||||
private void FireEvent(EventDefinition eventDef)
|
||||
{
|
||||
GetTree().Paused = true;
|
||||
GameBus.Instance.SetPause(true);
|
||||
|
||||
var popup = _eventPopupScene.Instantiate<EventPopup>();
|
||||
_eventPopupContainer.AddChild(popup);
|
||||
|
Reference in New Issue
Block a user