v2.5.4: toxic gas rooms can no longer have extra traps

This commit is contained in:
Evan Debenham
2024-10-06 14:15:07 -04:00
parent 91fa8b440f
commit 86910fb5e0
@@ -115,6 +115,11 @@ public class ToxicGasRoom extends SpecialRoom {
return gas == null || gas.volume == 0 || gas.cur[l.pointToCell(p)] == 0; return gas == null || gas.volume == 0 || gas.cur[l.pointToCell(p)] == 0;
} }
@Override
public boolean canPlaceTrap(Point p) {
return false; //room is already filled with trap-hazards, no need to add more
}
public static class ToxicGasSeed extends Blob { public static class ToxicGasSeed extends Blob {
@Override @Override