fix(network): prevent null multiplayer peer crashes offline/teardown and fix Nakama RPC session validation
This commit is contained in:
@@ -31,6 +31,7 @@ func _ready():
|
||||
_start_timer()
|
||||
|
||||
func _start_timer():
|
||||
if not timer or not is_instance_valid(timer): return
|
||||
var time = rng.randf_range(move_interval_min, move_interval_max)
|
||||
timer.start(time)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user