X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fclient.qc;h=3a99e31ded5d44003bdeba1f36df6bf52083a39a;hp=209958389b1fa0f5057f75c54dbec7e395991fc1;hb=ce491d5d46adc539776d175c258e8e89405689c8;hpb=1cf26eb87f64684fbaf21afb70b893a6bebc02e2 diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 209958389b..3a99e31ded 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -641,6 +641,10 @@ void PutPlayerInServer(entity this) STAT(REVIVE_PROGRESS, this) = 0; this.revival_time = 0; + // TODO: we can't set these in the PlayerSpawn hook since the target code is called before it! + STAT(BUFFS, this) = 0; + STAT(BUFF_TIME, this) = 0; + this.air_finished = time + 12; this.waterlevel = WATERLEVEL_NONE; this.watertype = CONTENT_EMPTY;