From 4ffc970346249f78e0129b95937480b4b50c62e8 Mon Sep 17 00:00:00 2001 From: galegosimpatico Date: Thu, 19 Oct 2017 02:00:08 +0200 Subject: [PATCH] Output realm following the version string. If the universe is not the production environment, have it showing next to the version numbering. --- modules/tbs/data/objects/game_menu_controller.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/tbs/data/objects/game_menu_controller.cfg b/modules/tbs/data/objects/game_menu_controller.cfg index 95c753939..173fc661e 100644 --- a/modules/tbs/data/objects/game_menu_controller.cfg +++ b/modules/tbs/data/objects/game_menu_controller.cfg @@ -55,7 +55,11 @@ mid_y: (obj text_area<- _text_area).y2 - lib.gui.py(20), use_absolute_screen_coordinates: true, bg_color: [0.3, 0.3, 0.3, 1.0], - _text: q() + MODULE_PRETTY_NAME + ' ' + str(MODULE_VERSION) + q(), + _text: q() + MODULE_PRETTY_NAME + ' ' + + str(MODULE_VERSION) + + if (universe = 'rel', + '', ' (' + universe + ')') + q() + where universe = str(MODULE_OPTIONS.universe), text_width: text_width, zorder: zorder+1, }, [