mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Adds an error for setting species post qdel (#59433)
Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
This commit is contained in:
co-authored by
Jordan Brown
parent
eb6aad9997
commit
bbcbfcb4e7
@@ -300,6 +300,8 @@
|
||||
|
||||
|
||||
/mob/living/carbon/set_species(datum/species/mrace, icon_update = TRUE, pref_load = FALSE)
|
||||
if(QDELETED(src))
|
||||
CRASH("You're trying to change your species post deletion, this is a recipe for madness")
|
||||
if(mrace && has_dna())
|
||||
var/datum/species/new_race
|
||||
if(ispath(mrace))
|
||||
|
||||
Reference in New Issue
Block a user