Fixed faction creation not being broadcasted
This commit is contained in:
parent
07c6968778
commit
c5c540cd01
|
@ -112,6 +112,7 @@ factions.new_faction = function(name)
|
||||||
local faction = factions.Faction:new(nil)
|
local faction = factions.Faction:new(nil)
|
||||||
faction.name = name
|
faction.name = name
|
||||||
factions.factions[name] = faction
|
factions.factions[name] = faction
|
||||||
|
faction:on_create()
|
||||||
factions.save()
|
factions.save()
|
||||||
return faction
|
return faction
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user