diff --git a/src/scene-scripts/console.cs b/src/scene-scripts/console.cs index 5112e8f..bb842a1 100644 --- a/src/scene-scripts/console.cs +++ b/src/scene-scripts/console.cs @@ -22,6 +22,10 @@ public partial class console : PopupPanel if (GetParent().Name == "player") GetParent().allowMovement = !Visible; } } + public void OnPopupHide() + { + if (GetParent().Name == "player") GetParent().allowMovement = true; + } public void OnLineEditTextSubmitted(string command) { line.Clear();