From c5c540cd01a52a7b8fa06dd2cdb8745ef9e38b13 Mon Sep 17 00:00:00 2001 From: shamoanjac Date: Mon, 15 Aug 2016 00:47:31 +0200 Subject: [PATCH] Fixed faction creation not being broadcasted --- factions.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/factions.lua b/factions.lua index c20ed9f..b070336 100644 --- a/factions.lua +++ b/factions.lua @@ -112,6 +112,7 @@ factions.new_faction = function(name) local faction = factions.Faction:new(nil) faction.name = name factions.factions[name] = faction + faction:on_create() factions.save() return faction end