From ba2a205c7e8285817f256f09f3dc7c00d0ec6d64 Mon Sep 17 00:00:00 2001 From: "nuri (smol)" <75618732+SMOLKEYS@users.noreply.github.com> Date: Tue, 22 Apr 2025 11:01:34 +0800 Subject: [PATCH] peanut brain moment (#10708) --- core/src/mindustry/entities/bullet/BulletType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/entities/bullet/BulletType.java b/core/src/mindustry/entities/bullet/BulletType.java index a14514ee7c..903c0b0844 100644 --- a/core/src/mindustry/entities/bullet/BulletType.java +++ b/core/src/mindustry/entities/bullet/BulletType.java @@ -585,7 +585,7 @@ public class BulletType extends Content implements Cloneable{ } public void createUnits(Bullet b, float x, float y){ - if(despawnUnit != null && Mathf.chance(despawnUnitChance)){ + if(!net.client() && despawnUnit != null && Mathf.chance(despawnUnitChance)){ for(int i = 0; i < despawnUnitCount; i++){ Tmp.v1.rnd(Mathf.random(despawnUnitRadius)); var u = despawnUnit.spawn(b.team, x + Tmp.v1.x, y + Tmp.v1.y);