Optimized imports
This commit is contained in:
@@ -38,14 +38,14 @@ public class GlobalVars{
|
||||
put("false", 0);
|
||||
put("true", 1);
|
||||
put("null", null);
|
||||
|
||||
|
||||
//math
|
||||
put("@pi", Mathf.PI);
|
||||
put("π", Mathf.PI); //for the "cool" kids
|
||||
put("@e", Mathf.E);
|
||||
put("@degToRad", Mathf.degRad);
|
||||
put("@radToDeg", Mathf.radDeg);
|
||||
|
||||
|
||||
//time
|
||||
varTime = put("@time", 0);
|
||||
varTick = put("@tick", 0);
|
||||
|
||||
@@ -1040,7 +1040,7 @@ public class LExecutor{
|
||||
|
||||
@Override
|
||||
public void run(LExecutor exec){
|
||||
|
||||
|
||||
if(exec.building(target) instanceof MessageBuild d && (d.team == exec.team || exec.privileged)){
|
||||
|
||||
d.message.setLength(0);
|
||||
|
||||
@@ -2,7 +2,6 @@ package mindustry.logic;
|
||||
|
||||
import arc.*;
|
||||
import arc.func.*;
|
||||
import arc.graphics.*;
|
||||
import arc.math.*;
|
||||
import arc.scene.*;
|
||||
import arc.scene.actions.*;
|
||||
|
||||
Reference in New Issue
Block a user