From 6c9cee1f472181b31c2e747bd4b615f2ae9a0ef1 Mon Sep 17 00:00:00 2001 From: m Date: Fri, 11 Mar 2022 17:20:07 -0600 Subject: [PATCH] only use in frontend --- data/ui_scripts/stats/__init__.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/ui_scripts/stats/__init__.lua b/data/ui_scripts/stats/__init__.lua index 98e39c7..2acbca9 100644 --- a/data/ui_scripts/stats/__init__.lua +++ b/data/ui_scripts/stats/__init__.lua @@ -1,4 +1,4 @@ -if (game:issingleplayer()) then +if (game:issingleplayer() or not Engine.InFrontend()) then return end