mirror of
https://gitlab.com/hoggit/developers/hoggit.git
synced 2026-08-23 11:40:49 +00:00
Call getGroup with : instead of .
This commit is contained in:
+1
-1
@@ -197,7 +197,7 @@ HOGGIT._deathHandler = function(event)
|
|||||||
HOGGIT.debug_text("SOMETHING DEAD YO", 10)
|
HOGGIT.debug_text("SOMETHING DEAD YO", 10)
|
||||||
if not event.initiator then return end
|
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
|
if not event.initiator:getGroup() then return end
|
||||||
|
|
||||||
local grp = event.initiator:getGroup():getName()
|
local grp = event.initiator:getGroup():getName()
|
||||||
if grp then
|
if grp then
|
||||||
|
|||||||
Reference in New Issue
Block a user