Skip to content

Commit c8db8e1

Browse files
committed
move mod version in scoreboard to string variable
+ inc version
1 parent 6fb5a7e commit c8db8e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ChangedScripts/ScoreboardRender.as

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ bool mouseWasPressed1 = false;
2525

2626
const string OLD_PLAYER_STATS_CORE = "player stats core";
2727

28+
const string mod_version = "v2.11b";
29+
2830
class OldPlayerStatsCore {
2931
dictionary stats;
3032
}
@@ -896,7 +898,7 @@ void onRenderScoreboard(CRules@ this)
896898
ScoreboardField(
897899
Vec2f(screenWidth - topleft.x - 200, 115 - scrollOffset),
898900
Vec2f(screenWidth - topleft.x, 115 - scrollOffset + 40),
899-
"Current version: v2.10"
901+
"Current version: " + mod_version
900902
);
901903
LinkButton(
902904
Vec2f(screenWidth - topleft.x - 275, 115 - scrollOffset),

0 commit comments

Comments
 (0)