fixed an issue regarding weapon node names causing multiplayer desync

This commit is contained in:
2024-03-30 16:44:52 +11:00
parent 2c2962077e
commit e84496dcf8
5 changed files with 90 additions and 46 deletions

View File

@ -155,6 +155,8 @@ func build_wall() -> void:
func refund_wall(wall: TowerBase) -> void:
if !is_instance_valid(wall):
return
last_collider = null
if wall.has_card:
wall.remove_card()