diff options
author | Henrique Alves <henriquelalves@gmail.com> | 2022-07-16 16:17:07 -0300 |
---|---|---|
committer | Henrique Alves <henriquelalves@gmail.com> | 2022-07-16 16:17:07 -0300 |
commit | c34e0dcdb890130a52e6be8d250591cf4ba48357 (patch) | |
tree | 1541141efa426c88b0df0445e23f943070479a46 /Scenes/PlateKey.gd | |
parent | fda99f4220dd9394b5f377991c76aecc00553443 (diff) | |
parent | 123c6f3db50f5fbb2160d65f2d36f8c6238125ee (diff) | |
download | gamejam-gmtk-2022-c34e0dcdb890130a52e6be8d250591cf4ba48357.tar.gz gamejam-gmtk-2022-c34e0dcdb890130a52e6be8d250591cf4ba48357.tar.bz2 gamejam-gmtk-2022-c34e0dcdb890130a52e6be8d250591cf4ba48357.zip |
Merge remote-tracking branch 'origin/main'
Diffstat (limited to 'Scenes/PlateKey.gd')
-rw-r--r-- | Scenes/PlateKey.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Scenes/PlateKey.gd b/Scenes/PlateKey.gd index e43d664..1342469 100644 --- a/Scenes/PlateKey.gd +++ b/Scenes/PlateKey.gd @@ -4,7 +4,7 @@ export(NodePath) var crystal_path onready var crystal : Crystal = get_node(crystal_path) setget set_crystal -func activate(): +func activate(entity : Entity, dungeon): if crystal == null or crystal.is_active: return |