add frontend checks
This commit is contained in:
parent
25b070a106
commit
02752b7887
@ -1,3 +1,7 @@
|
|||||||
|
if not Engine.InFrontend() then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
require("CampaignMenuButtons")
|
require("CampaignMenuButtons")
|
||||||
require("CPMainMenu")
|
require("CPMainMenu")
|
||||||
require("CPMainMenuButtons")
|
require("CPMainMenuButtons")
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
if not Engine.InFrontend() then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
require("ModSelectButton")
|
require("ModSelectButton")
|
||||||
require("ModSelectMenu")
|
require("ModSelectMenu")
|
||||||
|
require("ModDownload")
|
||||||
if (Engine.InFrontend()) then
|
|
||||||
require("ModDownload")
|
|
||||||
end
|
|
||||||
|
@ -1,2 +1,6 @@
|
|||||||
|
if not Engine.InFrontend() then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
require("ServerButtons")
|
require("ServerButtons")
|
||||||
require("SysLinkBrowser")
|
require("SysLinkBrowser")
|
||||||
|
Loading…
Reference in New Issue
Block a user