This commit is contained in:
Laserlicht committed 2025-11-13 02:17:42 +01:00
1 parent 9eae52574b
commit 28204cd87b
1 file changed
+1 -1
+1 -1
View File
@@ -68,7 +68,7 @@ RandomMapTab::RandomMapTab():
if(btnId == mapSizeVal.size() - 1)
{
ENGINE->windows().createAndPushWindow<SetSizeWindow>(int3(mapGenOptions->getWidth(), mapGenOptions->getWidth(), mapGenOptions->getLevels()), [this, setTemplateForSize](int3 ret){
ENGINE->windows().createAndPushWindow<SetSizeWindow>(int3(mapGenOptions->getWidth(), mapGenOptions->getHeight(), mapGenOptions->getLevels()), [this, setTemplateForSize](int3 ret){
if(ret.z > 2)
{
std::shared_ptr<CInfoWindow> temp = CInfoWindow::create(LIBRARY->generaltexth->translate("vcmi.lobby.customRmgSize.experimental"), PlayerColor(0), {}); //TODO: multilevel support