From 266f3059b4ae56a0aed852e942688f85671d81a3 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Tue, 21 Jan 2025 04:17:29 +0300 Subject: [PATCH] fix --- src/graphics/ui/GUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/ui/GUI.cpp b/src/graphics/ui/GUI.cpp index 2cc28024..08485201 100644 --- a/src/graphics/ui/GUI.cpp +++ b/src/graphics/ui/GUI.cpp @@ -202,7 +202,7 @@ void GUI::act(float delta, const Viewport& vp) { void GUI::postAct() { while (!postRunnables.empty()) { - runnable callback = postRunnables.back(); + runnable callback = postRunnables.front(); postRunnables.pop(); callback(); }