From e60f548de1e7765beecf78a0f24e0edee92a09bf Mon Sep 17 00:00:00 2001 From: ike709 Date: Wed, 23 Nov 2022 00:26:53 -0700 Subject: [PATCH] OpenDream Cleanup Pass - Unused Vars (#71428) ## About The Pull Request OpenDream (@Altoids1 specifically) discovered that BYOND will not throw an unused variable warning if its type doesn't exist. So this removes those from TG. Co-authored-by: ike709 --- code/datums/components/crafting/crafting.dm | 1 - code/modules/mob/dead/observer/observer.dm | 1 - code/modules/mob/living/simple_animal/hostile/jungle/seedling.dm | 1 - 3 files changed, 3 deletions(-) diff --git a/code/datums/components/crafting/crafting.dm b/code/datums/components/crafting/crafting.dm index c6594f05fb6..ceefa55c090 100644 --- a/code/datums/components/crafting/crafting.dm +++ b/code/datums/components/crafting/crafting.dm @@ -51,7 +51,6 @@ var/cur_category = CAT_NONE var/cur_subcategory = CAT_NONE - var/datum/action/innate/crafting/button var/display_craftable_only = FALSE var/display_compact = TRUE diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index 7d5dae4b361..f47b9cd4a6b 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -23,7 +23,6 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER) light_on = FALSE shift_to_open_context_menu = FALSE var/can_reenter_corpse - var/datum/hud/living/carbon/hud = null // hud var/bootime = 0 var/started_as_observer //This variable is set to 1 when you enter the game as an observer. //If you died in the game and are a ghost - this will remain as null. diff --git a/code/modules/mob/living/simple_animal/hostile/jungle/seedling.dm b/code/modules/mob/living/simple_animal/hostile/jungle/seedling.dm index aef62c0bca1..c7dfccf462a 100644 --- a/code/modules/mob/living/simple_animal/hostile/jungle/seedling.dm +++ b/code/modules/mob/living/simple_animal/hostile/jungle/seedling.dm @@ -34,7 +34,6 @@ stat_attack = HARD_CRIT move_resist = MOVE_FORCE_EXTREMELY_STRONG var/combatant_state = SEEDLING_STATE_NEUTRAL - var/obj/seedling_weakpoint/weak_point var/mob/living/beam_debuff_target var/solar_beam_identifier = 0