mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
peanut brain moment (#10708)
This commit is contained in:
parent
c35b9b8076
commit
ba2a205c7e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue