mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-05 07:47:48 +07:00
changed private -> public of checkRadius method
when i try to change color of forceField by using draw method , the Mindustry is crashed because of that private method.
This commit is contained in:
@ -94,7 +94,7 @@ public class ForceFieldAbility extends Ability{
|
||||
}
|
||||
}
|
||||
|
||||
private void checkRadius(Unit unit){
|
||||
public void checkRadius(Unit unit){
|
||||
//timer2 is used to store radius scale as an effect
|
||||
realRad = radiusScale * radius;
|
||||
}
|
||||
|
Reference in New Issue
Block a user