From f5fd22c272449e5e2ec8346739fb16170a196a8a Mon Sep 17 00:00:00 2001 From: shamoanjac Date: Mon, 15 Aug 2016 01:50:13 +0200 Subject: [PATCH] Fixed /f setspawn --- factions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/factions.lua b/factions.lua index b070336..15f97b2 100644 --- a/factions.lua +++ b/factions.lua @@ -279,7 +279,7 @@ end --! @brief faction's member will now spawn in a new place function factions.Faction.set_spawn(self, pos) self.spawn = {x=pos.x, y=pos.y, z=pos.z} - self:on_set_spawn(pos) + self:on_set_spawn() factions.save() end @@ -381,7 +381,7 @@ function factions.Faction.on_end_alliance(self, faction) end function factions.Faction.on_set_spawn(self) - self:broadcast("The faction spawn has been set to ("..util.coords3D_string(pos)..").") + self:broadcast("The faction spawn has been set to ("..util.coords3D_string(self.spawn)..").") end function factions.Faction.on_add_rank(self, rank)