fix: correct indentation of has_method check in GauntletManager to prevent multiplayer client crash
This commit is contained in:
@@ -272,8 +272,8 @@ func _process(delta: float) -> void:
|
||||
if player.has_method("sync_modulate"):
|
||||
if multiplayer.is_server() and _can_rpc():
|
||||
player.rpc("sync_modulate", Color.WHITE)
|
||||
elif not multiplayer.is_server():
|
||||
player.sync_modulate(Color.WHITE)
|
||||
elif not multiplayer.is_server():
|
||||
player.sync_modulate(Color.WHITE)
|
||||
|
||||
# Slow-mo timer (all peers for visual consistency)
|
||||
if slowmo_active:
|
||||
|
||||
Reference in New Issue
Block a user