From 75a65873e7072a0106fccddab189d36b9b833cb2 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 25 Mar 2018 22:38:38 +0300 Subject: [PATCH] Fixed applying of unsafe context in waiting command https://forum.zdoom.org/viewtopic.php?t=59947 --- src/c_dispatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c_dispatch.cpp b/src/c_dispatch.cpp index cb1fb47e1..6ebc0be99 100644 --- a/src/c_dispatch.cpp +++ b/src/c_dispatch.cpp @@ -243,7 +243,7 @@ void DWaitingCommand::Tick () { if (--TicsLeft == 0) { - UnsafeExecutionScope scope; + UnsafeExecutionScope scope(IsUnsafe); AddCommandString (Command); Destroy (); }