diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2022-09-13 18:15:01 -0400 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2022-09-13 18:15:01 -0400 |
| commit | 4068e66756966983973ab20b68ec5382e398548b (patch) | |
| tree | c2215e65167c7f6aced272da371214985cce16f5 /godot/scripts/ballistics/Cannonball.gd | |
| parent | e2f3e4bd7118c8f55d20b29d76cb9a13acf72f8b (diff) | |
incomplete airplane implementation (needs addl. network sync)
Diffstat (limited to 'godot/scripts/ballistics/Cannonball.gd')
| -rw-r--r-- | godot/scripts/ballistics/Cannonball.gd | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
