mirror of
https://gitlab.com/hoggit/developers/hoggit.git
synced 2025-11-10 15:43:28 +00:00
Call getGroup with : instead of .
This commit is contained in:
parent
e251486892
commit
b9a1d725b1
@ -197,7 +197,7 @@ HOGGIT._deathHandler = function(event)
|
||||
HOGGIT.debug_text("SOMETHING DEAD YO", 10)
|
||||
if not event.initiator then return end
|
||||
if not event.initiator.getGroup then return end
|
||||
if not event.initiator.getGroup() then return end
|
||||
if not event.initiator:getGroup() then return end
|
||||
|
||||
local grp = event.initiator:getGroup():getName()
|
||||
if grp then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user