Don't allow cycling an already cycling airlock.
This commit is contained in:
@ -140,6 +140,7 @@ namespace IngameScript
|
|||||||
|
|
||||||
public IEnumerator<bool> CycleAirlock()
|
public IEnumerator<bool> CycleAirlock()
|
||||||
{
|
{
|
||||||
|
if (Cycling) yield break;
|
||||||
Cycling = true;
|
Cycling = true;
|
||||||
setLights(AirlockLightState.Cycling);
|
setLights(AirlockLightState.Cycling);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user