Recapture the mouse after selecting a venue

_start_shift() now calls _refresh_freeze(), clearing the start-menu input lock
and returning to captured mouse mode. The movement smoke asserts both and no
longer captures the mouse itself. Headless 226/226 and smoke_movement pass in a
clean worktree; only this game_manager hunk is staged, not the active realism
edits.
This commit is contained in:
zwitschi committed 2026-11-01 16:45:05 +01:00
1 parent d96f53c285
commit c8b98fdb30
4 files changed
+38 -38

No files matched your search

+3 -1
View File
@@ -29,7 +29,9 @@ func _process(_delta: float) -> bool:
return false
if not started:
gm.call("_on_venue_selected", "hollywood_building")
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
_check(not gm.guard.input_locked, "venue selection releases the guard")
_check(Input.get_mouse_mode() == Input.MOUSE_MODE_CAPTURED,
"venue selection recaptures the mouse")
started = true
return false
if frame > MAX_FRAMES: