From 2781606dd3f2fbe4a6d37613b904c6643631ed9b Mon Sep 17 00:00:00 2001 From: tpart Date: Tue, 9 Jul 2024 12:22:04 +0200 Subject: Fix crash in replay mode --- client/game.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client') 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() -- cgit v1.2.3-70-g09d2