]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/gui/guiMainMenu.h
Merge branch 'master' of https://github.com/minetest/minetest
[dragonfireclient.git] / src / gui / guiMainMenu.h
index 1dca8bf2d295863c3c8993f15afc08b6894611ce..9b8ff383c592a0642c29c4426ea04551e7addbe3 100644 (file)
@@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #pragma once
 
 #include "irrlichttypes_extrabloated.h"
+#include "gameparams.h"
 #include <string>
 #include <list>
 
@@ -50,5 +51,7 @@ struct MainMenuData {
        // Data to be passed to the script
        MainMenuDataForScript script_data;
 
+       ELoginRegister allow_login_or_register = ELoginRegister::Any;
+
        MainMenuData() = default;
 };