]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't set 2nd parameter of Net_LinkEntity more than 0
authorLegendaryGuard <rootuser999@gmail.com>
Thu, 30 Jun 2022 00:07:56 +0000 (02:07 +0200)
committerLegendaryGuard <rootuser999@gmail.com>
Thu, 30 Jun 2022 00:07:56 +0000 (02:07 +0200)
qcsrc/common/turrets/sv_turrets.qc

index c5bbbebc954e89b23779c8e763fbfa23254ce71a..e2754bd32819deda1c9b20c163ca5ef470e1cb17 100644 (file)
@@ -1194,7 +1194,7 @@ void turret_use(entity this, entity actor, entity trigger)
 
 void turret_link(entity this)
 {
-       Net_LinkEntity(this, true, 0.5, turret_send);
+       Net_LinkEntity(this, true, 0, turret_send);
        setthink(this, turret_think);
        this.nextthink = time;
        this.tur_head.effects = EF_NODRAW;