From 167a245244debe8bcede6b16405cb46fcbb2b682 Mon Sep 17 00:00:00 2001 From: shamoanjac Date: Wed, 10 Aug 2016 02:13:40 +0200 Subject: [PATCH] Fixed on_spawn bug --- factions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/factions.lua b/factions.lua index e1251da..f5e86fc 100644 --- a/factions.lua +++ b/factions.lua @@ -228,7 +228,7 @@ function factions.Faction.end_enemy(self, faction) end function factions.Faction.set_spawn(self, pos) self.spawn = {x=pos.x, y=pos.y, z=pos.z} - self:on_set_spawn() + self:on_set_spawn(pos) factions.save() end function factions.Faction.add_rank(self, rank, perms)