From 4068e66756966983973ab20b68ec5382e398548b Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Tue, 13 Sep 2022 18:15:01 -0400 Subject: incomplete airplane implementation (needs addl. network sync) --- godot/scripts/ballistics/Cannonball.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'godot/scripts/ballistics') diff --git a/godot/scripts/ballistics/Cannonball.gd b/godot/scripts/ballistics/Cannonball.gd index 14de00c..d1937f4 100644 --- a/godot/scripts/ballistics/Cannonball.gd +++ b/godot/scripts/ballistics/Cannonball.gd @@ -13,5 +13,5 @@ func get_init_info(): func _on_collision(body): if oldvel.length() > 20 and !damage_exceptions.has(body) and body.has_method("damage"): - body.rpc("damage", oldvel.length(), "blunt", shooter, "using 'cannon'") + body.rpc("damage", oldvel.length(), "blunt", [shooter_id, shooter], "using 'cannon'") damage_exceptions.append(body) -- cgit v1.2.3