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:
Sharlotte
2020-10-15 20:46:29 +09:00
committed by GitHub
parent fb0179da95
commit fa2cdb752a

View File

@ -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;
}