mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-29 03:33:48 +00:00
Fix Lua entityDied() never getting called; botched in bf58fe91c6
This commit is contained in:
parent
e253069509
commit
60e3c4d7ad
1 changed files with 1 additions and 1 deletions
|
@ -688,7 +688,7 @@ void ScriptedEntity::entityDied(Entity *e)
|
|||
{
|
||||
CollideEntity::entityDied(e);
|
||||
|
||||
if (script && e != this && e->isv(EV_ENTITYDIED,1))
|
||||
if (script && e != this && isv(EV_ENTITYDIED,1))
|
||||
{
|
||||
script->call("entityDied", this, e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue