Merge pull request #6636 from SpaceManiac/patch/syntax

Fix various syntactic problems
This commit is contained in:
Atermonera
2020-01-20 22:05:25 -08:00
committed by GitHub
29 changed files with 62 additions and 89 deletions
+1 -1
View File
@@ -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)