Skip to content

Commit

Permalink
move mod version in scoreboard to string variable
Browse files Browse the repository at this point in the history
+ inc version
  • Loading branch information
TerminalHash committed Jan 26, 2024
1 parent 6fb5a7e commit c8db8e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ChangedScripts/ScoreboardRender.as
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit c8db8e1

Please sign in to comment.