only use in frontend

This commit is contained in:
m 2022-03-11 17:20:07 -06:00
parent 5210a93224
commit 6c9cee1f47

View File

@ -1,4 +1,4 @@
if (game:issingleplayer()) then
if (game:issingleplayer() or not Engine.InFrontend()) then
return
end