]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/gamemode_onslaught.qc
Combine `SELFCALL` and `SELFCALL_DONE` with `WITH`
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / gamemode_onslaught.qc
index 1372bd09d9d62276ad732ebb6d2f666ed50bb87b..76a7a65d57b7f97954a20e92280d96254b90f87c 100644 (file)
@@ -1701,8 +1701,7 @@ MUTATOR_HOOKFUNCTION(ons_ResetMap)
        {
                e.ons_roundlost = false;
                e.ons_deathloc = '0 0 0';
-               SELFCALL(e, PutClientInServer());
-               SELFCALL_DONE();
+               WITH(entity, self, e, PutClientInServer());
        }
        return false;
 }