mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-23 13:17:03 +01:00
Merge pull request #6636 from SpaceManiac/patch/syntax
Fix various syntactic problems
This commit is contained in:
@@ -1184,7 +1184,7 @@
|
||||
// defines a state machine, returns the new state
|
||||
obj/machinery/power/apc/proc/autoset(var/cur_state, var/on)
|
||||
switch(cur_state)
|
||||
if(POWERCHAN_OFF); //autoset will never turn on a channel set to off
|
||||
//if(POWERCHAN_OFF); //autoset will never turn on a channel set to off
|
||||
if(POWERCHAN_OFF_AUTO)
|
||||
if(on == 1)
|
||||
return POWERCHAN_ON_AUTO
|
||||
|
||||
@@ -56,7 +56,6 @@ var/global/list/rad_collectors = list()
|
||||
else
|
||||
to_chat(user, "<font color='red'>The controls are locked!</font>")
|
||||
return
|
||||
..()
|
||||
|
||||
|
||||
/obj/machinery/power/rad_collector/attackby(obj/item/W, mob/user)
|
||||
|
||||
Reference in New Issue
Block a user