mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Goner password adjustments
- After inputting an incorrect password on Goner, guarantee the "are you online" line doesn't play - When using either GDQ password, don't allow re-entry
This commit is contained in:
parent
193c85a418
commit
3789316756
1 changed files with 7 additions and 1 deletions
|
|
@ -859,6 +859,12 @@ void M_GonerTick(void)
|
||||||
|
|
||||||
if (M_TryPassword(cv_dummyextraspassword.string, false) != M_PW_EXTRAS)
|
if (M_TryPassword(cv_dummyextraspassword.string, false) != M_PW_EXTRAS)
|
||||||
{
|
{
|
||||||
|
if (LinesOutput.empty() && !LinesToDigest.empty())
|
||||||
|
{
|
||||||
|
// Remove "Metal Sonic. Are you online?"
|
||||||
|
LinesToDigest.pop_front();
|
||||||
|
}
|
||||||
|
|
||||||
goner_delay = 0;
|
goner_delay = 0;
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE,
|
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE,
|
||||||
"Aha! Nice try. You're tricky enough WITHOUT admin access, thank you.");
|
"Aha! Nice try. You're tricky enough WITHOUT admin access, thank you.");
|
||||||
|
|
@ -1259,7 +1265,7 @@ static void M_GonerConclude(INT32 choice)
|
||||||
|
|
||||||
void M_GonerGDQ(boolean opinion)
|
void M_GonerGDQ(boolean opinion)
|
||||||
{
|
{
|
||||||
if (currentMenu != &MAIN_GonerDef)
|
if (currentMenu != &MAIN_GonerDef || goner_gdq == true)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
LinesToDigest.clear();
|
LinesToDigest.clear();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue