Skip to content

Commit

Permalink
Merge pull request #424 from avaraline/fix-scout-crash
Browse files Browse the repository at this point in the history
attempt to fix scout crash
  • Loading branch information
assertivist authored Dec 19, 2024
2 parents eec8dd0 + 0ce4ee9 commit 3f7f8c5
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 3f7f8c5

Please sign in to comment.