summaryrefslogtreecommitdiff
path: root/godot/scripts/ballistics/Cannonball.gd
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2022-09-25 06:39:12 -0400
committerAnson Bridges <bridges.anson@gmail.com>2022-09-25 06:39:12 -0400
commit7a1d857de96174dfa5a0fa40f8c14acbd2f651c2 (patch)
treed52acaa4e89b0f8375326ea1aefd0105bb91cfc7 /godot/scripts/ballistics/Cannonball.gd
parent62039380a67b6da396d1c8d745d2e2625ba988fc (diff)
weapons, viewmodels, some performance fixes
Diffstat (limited to 'godot/scripts/ballistics/Cannonball.gd')
-rw-r--r--godot/scripts/ballistics/Cannonball.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/godot/scripts/ballistics/Cannonball.gd b/godot/scripts/ballistics/Cannonball.gd
index 7cf59e5..241fc7d 100644
--- a/godot/scripts/ballistics/Cannonball.gd
+++ b/godot/scripts/ballistics/Cannonball.gd
@@ -16,5 +16,5 @@ func get_init_info():
func _on_collision(body):
if is_network_master() and oldvel.length() > 20 and !damage_exceptions.has(body) and body.has_method("damage"):
- body.rpc("damage", oldvel.length(), "blunt", [shooter_id, shooter], "using 'cannon'")
+ body.rpc("damage", oldvel.length(), "BLUNT", [shooter_id, shooter], "using 'cannon'")
damage_exceptions.append(body)