mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-15 22:52:09 +00:00
fix(ci): isolate imported client test image
This commit is contained in:
@@ -1256,8 +1256,12 @@ func run_ci_host_check(run_seconds: float) -> void:
|
||||
# margin AND assert connectivity directly at sample time, rather than
|
||||
# inferring it from timing, so a future regression in either direction
|
||||
# (margin too tight again, or client run_seconds changing) fails loudly
|
||||
# here instead of silently passing on residual grace.
|
||||
var movement_check_delay := maxf(1.0, run_seconds - 2.0)
|
||||
# here instead of silently passing on residual grace. Sample near the end
|
||||
# of the active run: a server begins timing as soon as both peers join,
|
||||
# whereas each bot needs to load the match and settle before its input can
|
||||
# accumulate meaningful motion. The bots remain connected for an extra
|
||||
# three seconds after their active run, leaving a generous live margin.
|
||||
var movement_check_delay := maxf(1.0, run_seconds - 0.5)
|
||||
await _await_recording_score(match_scene, movement_check_delay, score_history)
|
||||
var connected_peers := multiplayer.get_peers()
|
||||
var input_reached_server := true
|
||||
|
||||
Reference in New Issue
Block a user