Skip to content

Commit

Permalink
attempt to fix scout crash
Browse files Browse the repository at this point in the history
  • Loading branch information
assertivist committed Dec 19, 2024
1 parent eec8dd0 commit 0ce4ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/CAbstractPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ void CAbstractPlayer::FrameAction() {

if (doIncarnateSound) {
IncarnateSound();
if (itsManager->Presence() == kzAvailable &&
if (itsScout && itsManager->Presence() == kzAvailable &&
itsScout->action == kScoutInactive) {
itsScout->ToggleState(kScoutUp);
}
Expand Down

0 comments on commit 0ce4ee9

Please sign in to comment.