cleanup
This commit is contained in:
@@ -40,15 +40,10 @@ public class Rules{
|
|||||||
public boolean reactorExplosions = true;
|
public boolean reactorExplosions = true;
|
||||||
/** Whether schematics are allowed */
|
/** Whether schematics are allowed */
|
||||||
public boolean schematicAllowed = true;
|
public boolean schematicAllowed = true;
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
/** Whether copying is allowed */
|
|
||||||
public boolean copyAllowed = true;
|
|
||||||
/** Whether friendly explosions can occur and set fire/damage other blocks. */
|
/** Whether friendly explosions can occur and set fire/damage other blocks. */
|
||||||
public boolean damageExplosions = true;
|
public boolean damageExplosions = true;
|
||||||
/** Whether fire is enabled. */
|
/** Whether fire is enabled. */
|
||||||
public boolean fire = true;
|
public boolean fire = true;
|
||||||
>>>>>>> fee15caf7aa42f112eebe4c465885b6c37fd51a5
|
|
||||||
/** Whether units use and require ammo. */
|
/** Whether units use and require ammo. */
|
||||||
public boolean unitAmmo = false;
|
public boolean unitAmmo = false;
|
||||||
/** How fast unit pads build units. */
|
/** How fast unit pads build units. */
|
||||||
|
|||||||
@@ -344,12 +344,7 @@ public class DesktopInput extends InputHandler{
|
|||||||
|
|
||||||
table.button(Icon.paste, Styles.clearPartiali, () -> {
|
table.button(Icon.paste, Styles.clearPartiali, () -> {
|
||||||
ui.schematics.show();
|
ui.schematics.show();
|
||||||
<<<<<<< HEAD
|
|
||||||
}).tooltip("Schematics");
|
}).tooltip("Schematics");
|
||||||
=======
|
|
||||||
|
|
||||||
}).tooltip("@schematics").disabled(d -> !state.rules.schematicAllowed);
|
|
||||||
>>>>>>> fee15caf7aa42f112eebe4c465885b6c37fd51a5
|
|
||||||
|
|
||||||
table.button(Icon.tree, Styles.clearPartiali, () -> {
|
table.button(Icon.tree, Styles.clearPartiali, () -> {
|
||||||
ui.research.show();
|
ui.research.show();
|
||||||
|
|||||||
Reference in New Issue
Block a user