Replaced a block of code in setup_server.lua with one line

This commit is contained in:
Kayne Ruse
2015-01-11 20:12:50 +11:00
parent d0b2f8e12f
commit 9f3721247d
4 changed files with 4 additions and 72 deletions
+2 -3
View File
@@ -37,9 +37,8 @@
#include "lua.hpp"
#include "entity_api.hpp"
#include "monster_system_api.hpp"
#include "map_system_api.hpp"
#include "monster_system_api.hpp"
#include "room_system_api.hpp"
#include "waypoint_system_api.hpp"
@@ -63,8 +62,8 @@ static const luaL_Reg loadedlibs[] = {
//these libs are preloaded and must be required before used
static const luaL_Reg preloadedlibs[] = {
{TORTUGA_ENTITY_API, openEntityAPI},
{TORTUGA_MONSTER_SYSTEM_API, openMonsterSystemAPI},
{TORTUGA_MAP_SYSTEM_API, openMapSystemAPI},
{TORTUGA_MONSTER_SYSTEM_API, openMonsterSystemAPI},
{TORTUGA_ROOM_SYSTEM_API, openRoomSystemAPI},
{TORTUGA_WAYPOINT_SYSTEM_API, openWaypointSystemAPI},
{NULL, NULL}