summaryrefslogtreecommitdiff
path: root/scenes/PauseSprite.gd
diff options
context:
space:
mode:
authorrom <romangraef@gmail.com>2021-04-26 13:24:19 +0200
committerrom <romangraef@gmail.com>2021-04-26 13:24:19 +0200
commitb66eb089dbce08f4d38df39f373718194febcb61 (patch)
tree727d457c82b9fe899edc7bb931672455b469fa4f /scenes/PauseSprite.gd
parent33609f3d9ac89116e23eb561c027b04c9658e242 (diff)
downloadldjam48-b66eb089dbce08f4d38df39f373718194febcb61.tar.gz
ldjam48-b66eb089dbce08f4d38df39f373718194febcb61.tar.bz2
ldjam48-b66eb089dbce08f4d38df39f373718194febcb61.zip
[sparta] fix pause
Diffstat (limited to 'scenes/PauseSprite.gd')
-rw-r--r--scenes/PauseSprite.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/scenes/PauseSprite.gd b/scenes/PauseSprite.gd
new file mode 100644
index 0000000..a8ffa50
--- /dev/null
+++ b/scenes/PauseSprite.gd
@@ -0,0 +1,6 @@
+extends ColorRect
+
+func _input(event):
+ for c in get_parent().get_children():
+ if c != self:
+ c._notifaction(c.NOTIFICATION_INPUT)