From 8f82a74f4b1e59d5353461474ee56d48b5361fbc Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Fri, 11 Mar 2022 21:44:29 +0100 Subject: [PATCH] Small fix --- 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 9ec572b7..f8a12274 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