Fixed applying of unsafe context in waiting command

https://forum.zdoom.org/viewtopic.php?t=59947
This commit is contained in:
alexey.lysiuk 2018-03-25 22:38:38 +03:00
parent e89a598b31
commit 75a65873e7

View file

@ -243,7 +243,7 @@ void DWaitingCommand::Tick ()
{
if (--TicsLeft == 0)
{
UnsafeExecutionScope scope;
UnsafeExecutionScope scope(IsUnsafe);
AddCommandString (Command);
Destroy ();
}