Revert "qtscript: Do not call destroyed event twice for each object."
This reverts commit a51de16080
.
Fixes #3175.
master
parent
9e63fe3433
commit
4f722254f0
|
@ -183,10 +183,7 @@ void objmemUpdate(void)
|
|||
break;
|
||||
}
|
||||
psCBObjDestroyed = NULL;
|
||||
if (psCurr->died == gameTime || psCurr->died == 2)
|
||||
{
|
||||
triggerEventDestroyed(psCurr);
|
||||
}
|
||||
triggerEventDestroyed(psCurr);
|
||||
|
||||
psPrev = psCurr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue