Fixed #7100
This commit is contained in:
@@ -31,12 +31,12 @@ public class ItemTurret extends Turret{
|
||||
ammoTypes = ObjectMap.of(objects);
|
||||
}
|
||||
|
||||
/** Makes copies of all bullets and limits their range. */
|
||||
/** Limits bullet range to this turret's range value. */
|
||||
public void limitRange(){
|
||||
limitRange(9f);
|
||||
}
|
||||
|
||||
/** Makes copies of all bullets and limits their range. */
|
||||
/** Limits bullet range to this turret's range value. */
|
||||
public void limitRange(float margin){
|
||||
for(var entry : ammoTypes.entries()){
|
||||
limitRange(entry.value, margin);
|
||||
|
||||
Reference in New Issue
Block a user