1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-28 19:23:53 +00:00

Fix Lua entityDied() never getting called; botched in bf58fe91c6

This commit is contained in:
fgenesis 2023-09-14 01:52:44 +02:00
parent e253069509
commit 60e3c4d7ad

View file

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