From d12af91ea582a69a6edf43e971836989ff7a349f Mon Sep 17 00:00:00 2001 From: Dregu Date: Wed, 8 Nov 2023 08:27:46 +0200 Subject: [PATCH] fix camera bounds on respawn --- src/injected/ui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/injected/ui.cpp b/src/injected/ui.cpp index bf97d8a4f..12e1837f5 100644 --- a/src/injected/ui.cpp +++ b/src/injected/ui.cpp @@ -2226,6 +2226,7 @@ void respawn() g_game_manager->journal_ui->state = 5; g_state->camera->focus_offset_x = 0; g_state->camera->focus_offset_y = 0; + set_camera_bounds(true); } for (int8_t i = 0; i < g_state->items->player_count; ++i) {