Fix #261
This commit is contained in:
parent
4cc12bf653
commit
7c93b1b041
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user