diff --git a/src/client/game/scripting/lua/event_handler.cpp b/src/client/game/scripting/lua/event_handler.cpp index d433fd18..b0f8f876 100644 --- a/src/client/game/scripting/lua/event_handler.cpp +++ b/src/client/game/scripting/lua/event_handler.cpp @@ -35,12 +35,6 @@ namespace scripting::lua for (auto i = tasks.begin(); i != tasks.end();) { - if (i->is_deleted) - { - i = tasks.erase(i); - continue; - } - if (i->event != event.name || i->entity != event.entity) { ++i;