This commit is contained in:
Federico Cecchetto 2022-04-26 17:19:33 +02:00
parent 4cc12bf653
commit 7c93b1b041

View File

@ -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;