From cbfef59fdc8a2285af10bb55c2881dcb762ac95b Mon Sep 17 00:00:00 2001 From: Andrew McWatters Date: Sat, 6 Feb 2016 19:49:36 -0700 Subject: [PATCH] Code drop --- src/engine/server/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/server/init.lua b/src/engine/server/init.lua index 56c34ba9..9104eb4e 100644 --- a/src/engine/server/init.lua +++ b/src/engine/server/init.lua @@ -104,7 +104,7 @@ function onPostConnect( event ) -- Set spawn point local spawnPoint = _G.gameserver.getSpawnPoint( player ) - local position = _G.vector.origin + vector( 0, _G.game.tileSize ) + local position = _G.vector.origin + _G.vector( 0, _G.game.tileSize ) if ( spawnPoint ) then position = spawnPoint:getPosition() end