Enemy Hivemind became Room Manager, will probably pull out the actual enemy script at some point
This commit is contained in:
@@ -13,13 +13,13 @@ func _ready() -> void:
|
||||
#Collect child switches
|
||||
for i in self.get_children():
|
||||
if i.is_in_group("switch"):
|
||||
if i.is_in_group("switch_override"):
|
||||
if i.switch_override:
|
||||
switch_override = i
|
||||
else:
|
||||
switches.append(i)
|
||||
|
||||
print("switches " + str(switches))
|
||||
print("override switches " + str(switch_override))
|
||||
#print("switches " + str(switches))
|
||||
#print("override switches " + str(switch_override))
|
||||
|
||||
func _on_switch_changed() -> void:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user