Skip to content

Commit 618cfbd

Browse files
committed
nice try
1 parent 2d396a5 commit 618cfbd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

source/archipelago/APPlayState.hx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,13 +1251,17 @@ class APPlayState extends PlayState {
12511251
shieldSprite.visible = false;
12521252
add(shieldSprite);
12531253

1254-
if (cpuControlled)
1254+
if (cpuControlled || ClientPrefs.getGameplaySetting('showcase', false))
12551255
{
12561256
//set_cpuControlled(false);
12571257
cpuControlled = false;
1258+
ClientPrefs.data.gameplaySettings.set('botplay', false);
1259+
ClientPrefs.data.gameplaySettings.set('showcase', false);
1260+
hadBotplayOn = true;
12581261
}
12591262
}
12601263

1264+
public var hadBotplayOn:Bool = false;
12611265
public function addEffect(e:String)
12621266
effectArray.push(e);
12631267

source/substates/RankingSubstate.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class RankingSubstate extends MusicBeatSubstate
154154
hint.text = "Nice. Try not missing at all for FC.";
155155
}
156156

157-
if (PlayState.instance.cpuControlled)
157+
if (APPlayState.instance.hadBotplayOn)
158158
{
159159
hint.y -= 35;
160160
hint.text = 'Nice try, but Botplay doesn\'t count.\n(And neither does Showcase Mode, either)';

0 commit comments

Comments
 (0)