Skip to content

Commit

Permalink
Update code/modules/mob/living/carbon/xenomorph/xeno_defines.dm
Browse files Browse the repository at this point in the history
Co-authored-by: harryob <[email protected]>
  • Loading branch information
Birdtalon and harryob committed Nov 25, 2023
1 parent 4f66588 commit bae4d3e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/modules/mob/living/carbon/xenomorph/xeno_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,7 @@
///Generate the image()'s requried for the evolution radial menu.
/datum/hive_status/proc/generate_evo_menu_images()
for(var/datum/caste_datum/caste as anything in subtypesof(/datum/caste_datum))
var/datum/caste_datum/new_caste = new caste()
evolution_menu_images[new_caste.caste_type] = image('icons/mob/xenos/radial_xenos.dmi', new_caste.caste_type)
qdel(new_caste)
evolution_menu_images[initial(new_caste.caste_type)] = image('icons/mob/xenos/radial_xenos.dmi', initial(new_caste.caste_type))

Check failure on line 396 in code/modules/mob/living/carbon/xenomorph/xeno_defines.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "new_caste"

Check warning on line 396 in code/modules/mob/living/carbon/xenomorph/xeno_defines.dm

View workflow job for this annotation

GitHub Actions / Run Linters

field access requires static type: "caste_type"

Check failure on line 396 in code/modules/mob/living/carbon/xenomorph/xeno_defines.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "new_caste"

Check warning on line 396 in code/modules/mob/living/carbon/xenomorph/xeno_defines.dm

View workflow job for this annotation

GitHub Actions / Run Linters

field access requires static type: "caste_type"

/datum/hive_status/proc/post_setup()
SIGNAL_HANDLER
Expand Down

0 comments on commit bae4d3e

Please sign in to comment.