Fix crash on missing factions mod
This commit is contained in:
parent
589edb4421
commit
a20c287abc
@ -98,7 +98,11 @@ end
|
||||
--
|
||||
-------------------------------------------------------------------------------
|
||||
function mobf_factions.cleanupentity(entity)
|
||||
return factions.get_factions(entity.object)
|
||||
if mobf_rtd.factions_available then
|
||||
return factions.get_factions(entity.object)
|
||||
else
|
||||
return ""
|
||||
end
|
||||
end
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user