summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/game.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/game.gd b/client/game.gd
index 401d96bb..9f140327 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -248,7 +248,8 @@ func join():
func _process(delta):
update_center()
- if is_replay: mp.send_replay_tick(delta)
+ if is_replay and mp != null:
+ mp.send_replay_tick(delta)
if Global.get_setting("debug_info"):
debug_label.show()