Skip to content

Commit

Permalink
Stop target_cdaudio from removing itself
Browse files Browse the repository at this point in the history
  • Loading branch information
sabianroberts committed Sep 28, 2024
1 parent 8dac964 commit fa3a638
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions binary/dlls/triggers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -835,8 +835,7 @@ void CTargetCDAudio::Think( void )

void CTargetCDAudio::Play( void )
{
PlayCDTrack( (int)pev->health );
UTIL_Remove(this);
PlayCDTrack( (int)pev->health );
}

//=====================================
Expand Down

0 comments on commit fa3a638

Please sign in to comment.