Fixed faction creation not being broadcasted

This commit is contained in:
shamoanjac 2016-08-15 00:47:31 +02:00
parent 07c6968778
commit c5c540cd01

View File

@ -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