scanning laser fix

This commit is contained in:
drpepper240 2014-07-25 21:34:29 +04:00
parent 21756cb26e
commit 7401f87b8b

View file

@ -85,7 +85,7 @@ public class TileEntityLaser extends TileEntity implements IPeripheral
}
}
if (isEmitting && (frequency != 1420 && ++delayTicks > WarpDriveConfig.i.LE_EMIT_DELAY_TICKS) || ((frequency == 1420) && ++delayTicks > WarpDriveConfig.i.LE_EMIT_SCAN_DELAY_TICKS))
if (isEmitting && ((frequency != 1420 && ++delayTicks > WarpDriveConfig.i.LE_EMIT_DELAY_TICKS) || ((frequency == 1420) && ++delayTicks > WarpDriveConfig.i.LE_EMIT_SCAN_DELAY_TICKS)))
{
delayTicks = 0;
isEmitting = false;