diff options
Diffstat (limited to 'src/guiLuaApi.cpp')
-rw-r--r-- | src/guiLuaApi.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/guiLuaApi.cpp b/src/guiLuaApi.cpp index bc02c062d..b4effbdd3 100644 --- a/src/guiLuaApi.cpp +++ b/src/guiLuaApi.cpp @@ -197,12 +197,14 @@ int guiLuaApi::l_start(lua_State *L) bool valid = false; - engine->m_data->selected_world = getIntegerData(L, "selected_world",valid) -1; + engine->m_data->selected_world = getIntegerData(L, "selected_world",valid) -1; engine->m_data->simple_singleplayer_mode = getBoolData(L,"singleplayer",valid); - engine->m_data->name = getTextData(L,"playername"); - engine->m_data->password = getTextData(L,"password"); - engine->m_data->address = getTextData(L,"address"); - engine->m_data->port = getTextData(L,"port"); + engine->m_data->name = getTextData(L,"playername"); + engine->m_data->password = getTextData(L,"password"); + engine->m_data->address = getTextData(L,"address"); + engine->m_data->port = getTextData(L,"port"); + engine->m_data->serverdescription = getTextData(L,"serverdescription"); + engine->m_data->servername = getTextData(L,"servername"); //close menu next time engine->m_startgame = true; |