From: Rudolf Polzer Date: Tue, 11 Oct 2011 04:59:07 +0000 (+0200) Subject: fix some spam X-Git-Tag: xonotic-v0.6.0~40^2~61^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=29822122f8b41147cefaed753fec9938493831bb;p=xonotic%2Fxonotic-data.pk3dir.git fix some spam --- diff --git a/qcsrc/server/t_teleporters.qc b/qcsrc/server/t_teleporters.qc index 6a7787d7d..8383b10aa 100644 --- a/qcsrc/server/t_teleporters.qc +++ b/qcsrc/server/t_teleporters.qc @@ -330,10 +330,11 @@ void WarpZone_PostTeleportPlayer_Callback(entity pl) { UpdateCSQCProjectileAfterTeleport(pl); // "disown" projectiles after teleport + if(pl.owner) if(pl.owner == pl.realowner) { if(!(pl.flags & FL_PROJECTILE)) - print("A non-projectile got through a warpzone and its owner cleared. It's a \n", pl.classname, ".\n"); + print("A non-projectile got through a warpzone and its owner cleared. It's a ", pl.classname, ".\n"); pl.owner = world; } if(pl.classname == "player")