Skip to content

Commit 31b643d

Browse files
authored
Fixed Spec list - Modified Misc Window
Fixed the spectator list Modified Misc Window to include the option to list the players who are recording demos.
1 parent fde4245 commit 31b643d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Classes/AT_MiscWindow.uc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class AT_MiscWindow extends UWindowPageWindow config(AdminTool);
66

77
var UWindowSmallButton NetSpeedsButton;
88
var UWindowSmallButton IPsButton;
9-
var UWindowSmallButton ForceStartButton;
9+
var UWindowSmallButton ShowDemosButton;
1010
var UWindowSmallButton RedeemerButton;
1111
var UWindowSmallButton DamageAmpButton;
1212
var UWindowSmallButton InvisibilityButton;
@@ -38,8 +38,8 @@ function Created()
3838
IPsButton.SetText("Show");
3939

4040
Top += Height;
41-
ForceStartButton = UWindowSmallButton(CreateControl(class'UWindowSmallButton', 114.0,50.0,200.0,35.0));
42-
ForceStartButton.SetText("Force");
41+
ShowDemosButton = UWindowSmallButton(CreateControl(class'UWindowSmallButton', 114.0,50.0,200.0,35.0));
42+
ShowDemosButton.SetText("Show");
4343

4444
Top += Height;
4545
RedeemerButton = UWindowSmallButton(CreateControl(class'UWindowSmallButton', 114.0,70.0,200.0,35.0));
@@ -103,7 +103,7 @@ function Paint(Canvas C, float X, float Y)
103103

104104
WriteText(C, "Show Netspeeds", 12);
105105
WriteText(C, "Show IPs", 32);
106-
WriteText(C, "Force Start:", 52);
106+
WriteText(C, "Show Demos", 52);
107107
WriteText(C, "Redeemer:", 72);
108108
WriteText(C, "Big Keg O' Health:", 92);
109109
WriteText(C, "Invisibility:", 112);
@@ -128,10 +128,10 @@ function Notify(UWindowDialogControl C, byte E)
128128
GetPlayerOwner().ClientMessage("IPs:");
129129
GetPlayerOwner().ConsoleCommand("mutate pureshowips");
130130
return;
131-
case ForceStartButton:
131+
case ShowDemosButton:
132132
if (!AdminCheck(True)) return;
133-
GetPlayerOwner().ClientMessage("Admin is trying to force game to Start");
134-
GetPlayerOwner().ConsoleCommand("mutate pureforcestart");
133+
GetPlayerOwner().ClientMessage("Listing which players are recording demos:");
134+
GetPlayerOwner().ConsoleCommand("mutate pureshowdemos");
135135
return;
136136
case RedeemerButton:
137137
if (!AdminCheck(True)) return;
@@ -184,7 +184,7 @@ function Tick( float DeltaTime )
184184
{
185185
NetSpeedsButton.bDisabled = False;
186186
IPsButton.bDisabled = False;
187-
ForceStartButton.bDisabled = False;
187+
ShowDemosButton.bDisabled = False;
188188
RedeemerButton.bDisabled = False;
189189
DamageAmpButton.bDisabled = False;
190190
InvisibilityButton.bDisabled = False;
@@ -198,7 +198,7 @@ function Tick( float DeltaTime )
198198
{
199199
NetSpeedsButton.bDisabled = True;
200200
IPsButton.bDisabled = True;
201-
ForceStartButton.bDisabled = True;
201+
ShowDemosButton.bDisabled = True;
202202
RedeemerButton.bDisabled = True;
203203
DamageAmpButton.bDisabled = True;
204204
InvisibilityButton.bDisabled = True;

Classes/AT_SpectatorListBox.uc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function LoadList()
8888
for (i=0; i<32; i++)
8989
if (L.PRIArray[i] != None)
9090
{
91-
if (L.PRIArray[i].bIsSpectator)
91+
if (L.PRIArray[i].bIsSpectator && !L.PRIArray[i].bWaitingPlayer && L.PRIArray[i].StartTime > 0)
9292
{
9393
Specs = AT_List(Items.Append(class'AT_List'));
9494
Specs.Name = L.PRIArray[i].PlayerName;

0 commit comments

Comments
 (0)