added nice smoke puffs to interactible objects
This commit is contained in:
@@ -431,6 +431,7 @@ func _die():
|
||||
if killer_peer_id != 0 and killer_peer_id != multiplayer.get_unique_id() and killer_player.has_method("_sync_stats_update"):
|
||||
# Server is updating a client's player stats - sync to the client
|
||||
var coins = killer_player.character_stats.coin if "coin" in killer_player.character_stats else 0
|
||||
print(name, " syncing kill stats to client peer_id=", killer_peer_id, " kills=", killer_player.character_stats.kills, " coins=", coins)
|
||||
killer_player._sync_stats_update.rpc_id(killer_peer_id, killer_player.character_stats.kills, coins)
|
||||
|
||||
# Spawn loot immediately (before death animation)
|
||||
|
||||
Reference in New Issue
Block a user