Skip to content

Commit

Permalink
fix: only players have clientData ents...silly me...
Browse files Browse the repository at this point in the history
  • Loading branch information
Subject9x committed Dec 23, 2020
1 parent 20f5adb commit f8ab4b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/ai/ai_api.qc
Original file line number Diff line number Diff line change
Expand Up @@ -594,12 +594,12 @@ void() ai_frame_net_send={
}

if( self.last_crit != self.critBits ){
self.clientData.SendFlags = self.clientData.SendFlags | SENDFLAG_CRIT;
self.SendFlags = self.SendFlags | SENDFLAG_CRIT;
self.last_crit = self.critBits;
}

if( self.last_burn != self.burnBits ){
self.clientData.SendFlags = self.clientData.SendFlags | SENDFLAG_BURN;
self.SendFlags = self.SendFlags | SENDFLAG_BURN;
self.last_burn = self.burnBits;
}

Expand Down

0 comments on commit f8ab4b3

Please sign in to comment.