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("CPMainMenu")
|
||||
require("CPMainMenuButtons")
|
||||
|
@ -1,6 +1,7 @@
|
||||
if not Engine.InFrontend() then
|
||||
return
|
||||
end
|
||||
|
||||
require("ModSelectButton")
|
||||
require("ModSelectMenu")
|
||||
|
||||
if (Engine.InFrontend()) then
|
||||
require("ModDownload")
|
||||
end
|
||||
require("ModDownload")
|
||||
|
@ -1,2 +1,6 @@
|
||||
if not Engine.InFrontend() then
|
||||
return
|
||||
end
|
||||
|
||||
require("ServerButtons")
|
||||
require("SysLinkBrowser")
|
||||
|
Loading…
Reference in New Issue
Block a user