multiplayer pretty much works now i think
This commit is contained in:
@@ -6,6 +6,8 @@ func shoot():
|
||||
super.shoot()
|
||||
if targeted_enemy and is_instance_valid(targeted_enemy) and targeted_enemy.alive:
|
||||
targeted_enemy.damage(damage)
|
||||
if Data.preferences.display_tower_damage_indicators:
|
||||
spawn_damage_indicator(targeted_enemy.sprite.global_position)
|
||||
|
||||
|
||||
@rpc("reliable")
|
||||
|
||||
Reference in New Issue
Block a user