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();)
|
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)
|
if (i->event != event.name || i->entity != event.entity)
|
||||||
{
|
{
|
||||||
++i;
|
++i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user