Bug fixing

This commit is contained in:
Paul Black 2023-05-29 15:46:12 -06:00
parent e2e09b155e
commit ae7585a799
3 changed files with 146 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -11,6 +11,9 @@ func _process(delta):
for body in get_overlapping_bodies():
if body.is_in_group("human"):
var player = body.get_multiplayer_authority()
if Global.teddyAuthorityID == 1:
kill()
else:
rpc_id(player, "kill")
print("Player collided with a death zone!")