mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
Tiny readibility improvement
This commit is contained in:
@@ -136,8 +136,9 @@
|
||||
return !density
|
||||
|
||||
/obj/machinery/power/compressor/process()
|
||||
stat = (!turbine || panel_open)
|
||||
if(stat & BROKEN)
|
||||
if(!turbine)
|
||||
stat = BROKEN
|
||||
if(stat & BROKEN || panel_open)
|
||||
return
|
||||
if(!starter)
|
||||
return
|
||||
@@ -235,8 +236,11 @@
|
||||
return !density
|
||||
|
||||
/obj/machinery/power/turbine/process()
|
||||
stat = (!compressor || panel_open)
|
||||
if(stat & BROKEN)
|
||||
|
||||
if(!compressor)
|
||||
stat = BROKEN
|
||||
|
||||
if((stat & BROKEN) || panel_open)
|
||||
return
|
||||
if(!compressor.starter)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user