Skip to content

Commit f1432a3

Browse files
authored
Do not apply dynamic interface if the player is not ingame (#9628)
1 parent 50a9df8 commit f1432a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fheroes2/system/settings.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ bool Settings::isEvilInterfaceEnabled() const
909909
return true;
910910
case InterfaceType::DYNAMIC: {
911911
const Player * player = GetPlayers().GetCurrent();
912-
if ( !player ) {
912+
if ( !player || !player->isPlay() ) {
913913
return false;
914914
}
915915

0 commit comments

Comments
 (0)