From c8db8e103d31898cadef193bca55199315248ef6 Mon Sep 17 00:00:00 2001 From: TerminalHash Date: Fri, 26 Jan 2024 15:42:01 +0300 Subject: [PATCH] move mod version in scoreboard to string variable + inc version --- ChangedScripts/ScoreboardRender.as | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangedScripts/ScoreboardRender.as b/ChangedScripts/ScoreboardRender.as index 899a5c71..2ee2c851 100644 --- a/ChangedScripts/ScoreboardRender.as +++ b/ChangedScripts/ScoreboardRender.as @@ -25,6 +25,8 @@ bool mouseWasPressed1 = false; const string OLD_PLAYER_STATS_CORE = "player stats core"; +const string mod_version = "v2.11b"; + class OldPlayerStatsCore { dictionary stats; } @@ -896,7 +898,7 @@ void onRenderScoreboard(CRules@ this) ScoreboardField( Vec2f(screenWidth - topleft.x - 200, 115 - scrollOffset), Vec2f(screenWidth - topleft.x, 115 - scrollOffset + 40), - "Current version: v2.10" + "Current version: " + mod_version ); LinkButton( Vec2f(screenWidth - topleft.x - 275, 115 - scrollOffset),