Planimeter / game-engine-2d

Planimeter Game Engine 2D - LÖVE-based game engine for Lua
https://github.com/Planimeter/game-engine-2d/wiki
MIT License
736 stars 74 forks source link

Fix invalid player spawn position when no spawnpoint is found #71

Closed andrewmcwatters closed 8 years ago

andrewmcwatters commented 8 years ago

This is a technical niggle. When no spawnpoint is found via gameserver.getSpawnPoint( player ), the player's spawn position is set to vector.origin implicitly. This only occurs when _AXIS = false due to different client–server initialization paths.