Add canGameOver to logic rules, fix trailing spaces (#10403)

This commit is contained in:
router
2025-02-05 18:49:07 -05:00
committed by GitHub
parent 52268e3247
commit 9801dbdfd2
2 changed files with 6 additions and 4 deletions
+1
View File
@@ -1512,6 +1512,7 @@ public class LExecutor{
case dropZoneRadius -> state.rules.dropZoneRadius = value.numf() * 8f;
case unitCap -> state.rules.unitCap = Math.max(value.numi(), 0);
case lighting -> state.rules.lighting = value.bool();
case canGameOver -> state.rules.canGameOver = value.bool();
case mapArea -> {
int x = p1.numi(), y = p2.numi(), w = p3.numi(), h = p4.numi();
if(!checkMapArea(x, y, w, h, false)){
+1
View File
@@ -13,6 +13,7 @@ public enum LogicRule{
unitCap,
mapArea,
lighting,
canGameOver,
ambientLight,
solarMultiplier,
dragMultiplier,