Logic: Fix radar from value bug (#4236)
* Logic: Fix radar from value bug * Use constructor to modify variable initialization
This commit is contained in:
@@ -819,6 +819,10 @@ public class LStatements{
|
|||||||
@RegisterStatement("uradar")
|
@RegisterStatement("uradar")
|
||||||
public static class UnitRadarStatement extends RadarStatement{
|
public static class UnitRadarStatement extends RadarStatement{
|
||||||
|
|
||||||
|
public UnitRadarStatement(){
|
||||||
|
radar = "0";
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean buildFrom(){
|
public boolean buildFrom(){
|
||||||
//do not build the "from" section
|
//do not build the "from" section
|
||||||
|
|||||||
Reference in New Issue
Block a user