From a0320455aed3cf15006c43e52ad2402ba8114f44 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