Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 33b0040

Browse files
committed
2 parents 769e9d7 + faaf91f commit 33b0040

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Managers/MetaMan.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,7 @@ void MetaMan::AIPlayerTurn(int metaPlayer)
11421142
counterRatio = 0.5;
11431143
// Nothing to attack with
11441144
offenseRatio = 0;
1145+
pThisPlayer->SetOffensiveTargetName("");
11451146
}
11461147
// Special case: no owned bases
11471148
else if (ownedScenes.empty())

Menus/MetagameGUI.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2228,6 +2228,7 @@ void MetagameGUI::UpdateInput()
22282228
// weegee SwitchToScreen(NEWDIALOG);
22292229
// Hide all screens, the appropriate screen will reappear on next update
22302230
HideAllScreens();
2231+
if (g_MetaMan.m_GameState == MetaMan::GAMEOVER && g_ActivityMan.GetActivity()) { g_PostProcessMan.ClearScreenPostEffects(); }
22312232
// Signal that we want to go back to main menu
22322233
m_BackToMain = true;
22332234
g_GUISound.BackButtonPressSound()->Play();

0 commit comments

Comments
 (0)