diff --git a/code/ATMOSPHERICS/components/unary_devices/vent_pump.dm b/code/ATMOSPHERICS/components/unary_devices/vent_pump.dm index 4c4f1a91d06..662f5fe48f2 100644 --- a/code/ATMOSPHERICS/components/unary_devices/vent_pump.dm +++ b/code/ATMOSPHERICS/components/unary_devices/vent_pump.dm @@ -1,7 +1,6 @@ #define EXTERNAL_PRESSURE_BOUND ONE_ATMOSPHERE #define INTERNAL_PRESSURE_BOUND 0 #define PRESSURE_CHECKS 1 -#undefine /obj/machinery/atmospherics/unary/vent_pump icon = 'icons/atmos/vent_pump.dmi' diff --git a/code/__DEFINES/process_scheduler.dm b/code/__DEFINES/process_scheduler.dm index d3dbf1e085c..c6c3722d49f 100644 --- a/code/__DEFINES/process_scheduler.dm +++ b/code/__DEFINES/process_scheduler.dm @@ -31,4 +31,4 @@ if(##VARNAME == src)\ ##VARNAME = null;\ else\ - message_admins("Controller '[name]' asked to release global control in spite of not having it!");}\ + message_admins("Controller '[name]' asked to release global control in spite of not having it!");} diff --git a/code/game/area/areas.dm b/code/game/area/areas.dm index 723d26a451a..b473b830e39 100644 --- a/code/game/area/areas.dm +++ b/code/game/area/areas.dm @@ -87,7 +87,7 @@ if(!D.welded) D.activate_alarm() if(D.operating) - D.nextstate = CLOSED + D.nextstate = FD_CLOSED else if(!D.density) spawn(0) D.close() diff --git a/code/game/machinery/doors/firedoor.dm b/code/game/machinery/doors/firedoor.dm index fc0fc16d9cf..252bbeef955 100644 --- a/code/game/machinery/doors/firedoor.dm +++ b/code/game/machinery/doors/firedoor.dm @@ -4,8 +4,8 @@ #define CONSTRUCTION_GUTTED 3 //Wires are removed, circuit ready to remove #define CONSTRUCTION_NOCIRCUIT 4 //Circuit board removed, can safely weld apart -/var/const/OPEN = 1 -/var/const/CLOSED = 2 +/var/const/FD_OPEN = 1 +/var/const/FD_CLOSED = 2 /obj/machinery/door/firedoor name = "firelock" @@ -189,10 +189,10 @@ if(operating || stat & NOPOWER || !nextstate) return switch(nextstate) - if(OPEN) + if(FD_OPEN) nextstate = null open(auto_close) - if(CLOSED) + if(FD_CLOSED) nextstate = null close() diff --git a/code/game/turfs/simulated/walls.dm b/code/game/turfs/simulated/walls.dm index 234af2cfb72..01aad3e1fbc 100644 --- a/code/game/turfs/simulated/walls.dm +++ b/code/game/turfs/simulated/walls.dm @@ -22,7 +22,8 @@ heat_capacity = 312500 //a little over 5 cm thick , 312500 for 1 m by 2.5 m by 0.25 m plasteel wall var/hardness = 40 //lower numbers are harder. Used to determine the probability of a hulk smashing through. - var/engraving, engraving_quality //engraving on the wall + var/engraving //engraving on the wall + var/engraving_quality var/sheet_type = /obj/item/stack/sheet/metal var/sheet_amount = 2 diff --git a/code/modules/clothing/spacesuits/rig/suits/light.dm b/code/modules/clothing/spacesuits/rig/suits/light.dm index 8c8384b32fc..447a808ba4f 100644 --- a/code/modules/clothing/spacesuits/rig/suits/light.dm +++ b/code/modules/clothing/spacesuits/rig/suits/light.dm @@ -99,8 +99,6 @@ /obj/item/rig_module/self_destruct ) - ..() - /obj/item/clothing/gloves/rig/light/ninja name = "insulated gloves" siemens_coefficient = 0 diff --git a/code/modules/mob/language.dm b/code/modules/mob/language.dm index 83eecee3022..c96855a07e8 100644 --- a/code/modules/mob/language.dm +++ b/code/modules/mob/language.dm @@ -618,7 +618,7 @@ exclaim_verb = "tones" colour = "say_quote" key = "z"//Zwarmer...Or Zerg! - flags = RESTRICTED || HIVEMIND + flags = RESTRICTED | HIVEMIND follow = 1 // Language handling. diff --git a/code/modules/paperwork/carbonpaper.dm b/code/modules/paperwork/carbonpaper.dm index 126112c316a..087745ee51b 100644 --- a/code/modules/paperwork/carbonpaper.dm +++ b/code/modules/paperwork/carbonpaper.dm @@ -2,8 +2,8 @@ name = "paper" icon_state = "paper_stack" item_state = "paper" - var copied = 0 - var iscopy = 0 + var/copied = 0 + var/iscopy = 0 /obj/item/weapon/paper/carbon/update_icon() diff --git a/code/modules/power/singularity/collector.dm b/code/modules/power/singularity/collector.dm index 73f14a4b143..704877ceec9 100644 --- a/code/modules/power/singularity/collector.dm +++ b/code/modules/power/singularity/collector.dm @@ -45,7 +45,6 @@ var/global/list/rad_collectors = list() else to_chat(user, "The controls are locked!") return -..() /obj/machinery/power/rad_collector/attackby(obj/item/W, mob/user, params)