diff --git a/src/client/luafunctions.cpp b/src/client/luafunctions.cpp index 031a19de..67ad7dfb 100644 --- a/src/client/luafunctions.cpp +++ b/src/client/luafunctions.cpp @@ -127,6 +127,8 @@ void Client::registerLuaFunctions() g_lua.bindSingletonFunction("g_map", "getSpawnFile", &Map::getSpawnFile, &g_map); g_lua.bindSingletonFunction("g_map", "setSpawnFile", &Map::setSpawnFile, &g_map); g_lua.bindSingletonFunction("g_map", "createTile", &Map::createTile, &g_map); + g_lua.bindSingletonFunction("g_map", "setWidth", &Map::setWidth, &g_map); + g_lua.bindSingletonFunction("g_map", "setHeight", &Map::setHeight, &g_map); g_lua.bindSingletonFunction("g_map", "getSize", &Map::getSize, &g_map); g_lua.bindSingletonFunction("g_map", "setDescription", &Map::setDescription, &g_map); g_lua.bindSingletonFunction("g_map", "getDescriptions", &Map::getDescriptions, &g_map);