add frontend checks

This commit is contained in:
quaK 2024-08-06 13:37:00 +03:00
parent 25b070a106
commit 02752b7887
3 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,7 @@
if not Engine.InFrontend() then
return
end
require("CampaignMenuButtons")
require("CPMainMenu")
require("CPMainMenuButtons")

View File

@ -1,6 +1,7 @@
if not Engine.InFrontend() then
return
end
require("ModSelectButton")
require("ModSelectMenu")
if (Engine.InFrontend()) then
require("ModDownload")
end
require("ModDownload")

View File

@ -1,2 +1,6 @@
if not Engine.InFrontend() then
return
end
require("ServerButtons")
require("SysLinkBrowser")