From 6d24ae4cba8ddcb3aac906a4dcb65c6161e9f808 Mon Sep 17 00:00:00 2001 From: Robert Fritzen Date: Thu, 14 Jan 2021 20:09:55 -0600 Subject: [PATCH] Score Menu Adjustments Removed a bad link, fixed a bug in the personal settings window. --- scripts/TWM2/Systems/scoremenucmds.cs | 13 ++----------- scripts/TWM2/cmddisplaylist.txt | 3 +-- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/scripts/TWM2/Systems/scoremenucmds.cs b/scripts/TWM2/Systems/scoremenucmds.cs index 9e2779c..5350659 100644 --- a/scripts/TWM2/Systems/scoremenucmds.cs +++ b/scripts/TWM2/Systems/scoremenucmds.cs @@ -176,15 +176,6 @@ function ConstructionGame::processGameLink(%game, %client, %arg1, %arg2, %arg3, messageClient( %client, 'SetLineHud', "", %tag, %index, 'Back to main menu'); %index++; return; - - case "TWM": - %client.SCMPage = "SM"; - messageClient( %client, 'SetScoreHudSubheader', "", "TWM Information" ); - messageClient( %client, 'SetLineHud', "", %tag, %index, "http://www.phantomdev.net"); - %index++; - messageClient( %client, 'SetLineHud', "", %tag, %index, 'Back to main menu'); - %index++; - return; case "ContSave": %client.SCMPage = "SM"; @@ -542,7 +533,7 @@ function ConstructionGame::processGameLink(%game, %client, %arg1, %arg2, %arg3, %index++; messageClient( %client, 'SetLineHud', "", %tag, %index, ""); %index++; - if(%scriptController.officer < $OfficerCap[$TWM2Core_Code, sha1sum(formattimestring("yymmdd"))]) { + if(%scriptController.officer < 15) { if(getCurrentEXP(%client) >= $Ranks::MinPoints[61]) { messageClient( %client, 'SetLineHud', "", %tag, %index, "Promote To Officer Level "@%scriptController.officer + 1@""); %index++; @@ -555,7 +546,7 @@ function ConstructionGame::processGameLink(%game, %client, %arg1, %arg2, %arg3, else { messageClient( %client, 'SetLineHud', "", %tag, %index, "Maximum Officer Level Achieved, Congratulations!!!"); %index++; - messageClient( %client, 'SetLineHud', "", %tag, %index, "Reset My Stats: Reset To Level 1, Officer 0"); + messageClient( %client, 'SetLineHud', "", %tag, %index, "Reset My Stats: Reset To Level 1, Officer 0"); %index++; } if(%scriptController.officer >= 1) { diff --git a/scripts/TWM2/cmddisplaylist.txt b/scripts/TWM2/cmddisplaylist.txt index 31375cd..a11c085 100644 --- a/scripts/TWM2/cmddisplaylist.txt +++ b/scripts/TWM2/cmddisplaylist.txt @@ -5,5 +5,4 @@ CMD Missions Operations CMD PC Piece Count CMD ContSave Content Saving System CMD Challenge Challenges -CMD Ranks Player Info Listings -CMD TWM TWM Mod Website +CMD Ranks Player Info Listings \ No newline at end of file