From bed09ceace324369cd52777c77a3af0e37ba70d5 Mon Sep 17 00:00:00 2001 From: cmod31 Date: Sun, 19 Feb 2023 13:52:41 +0100 Subject: [PATCH] didnt save --- src/scene-scripts/console.cs | 4 ++++ 1 file changed, 4 insertions(+) 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();