Skip to content

Commit 0c25c9f

Browse files
committed
only send preinputs when DDrace team is the same
1 parent c5f06db commit 0c25c9f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/game/server/entities/character.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,9 @@ void CCharacter::Snap(int SnappingClient)
12451245

12461246
if(Id == SnappingClient)
12471247
preinput = false;
1248+
1249+
if(GameServer()->GetDDRaceTeam(SnappingClient) != GameServer()->GetDDRaceTeam(Id))
1250+
preinput = false;
12481251

12491252
if(preinput)
12501253
{

0 commit comments

Comments
 (0)