]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/t_teleporters.qc
Turn nexball into a gamemode mutator
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_teleporters.qc
index 8fc1f3454c709c18d7fedbef26852392fe3637ec..5d5b0a02c49bc2014ce502800254af43cc56384c 100644 (file)
@@ -329,10 +329,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")