diff --git a/src/gui/luainstance.cpp b/src/gui/luainstance.cpp index 03d014a65..af5a166af 100644 --- a/src/gui/luainstance.cpp +++ b/src/gui/luainstance.cpp @@ -1195,7 +1195,7 @@ int CLuaInstance::MessageboxExec(lua_State *L) const char *val = lua_tostring(L, -2); table_key mb[] = { { "center1", CMessageBox::mbBtnAlignCenter1 }, - { "center2", CMessageBox::mbBtnAlignCenter1 }, + { "center2", CMessageBox::mbBtnAlignCenter2 }, { "left", CMessageBox::mbBtnAlignLeft }, { "right", CMessageBox::mbBtnAlignRight }, { NULL, 0 }