Skip to content

Commit

Permalink
Merge pull request #1770 from GeneriedJenelle/Fixes-DNA-not-intializing
Browse files Browse the repository at this point in the history
Fix for DNA initialization. I hope.
  • Loading branch information
MciReloaded authored Jul 20, 2024
2 parents 3e11247 + 7e4509b commit 9390470
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/modules/mob/living/living.dm
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,9 @@ default behaviour is:
if(!real_name)
real_name = name

dna_trace = sha1(real_name)
fingers_trace = md5(real_name)

//Some mobs may need to create their stats datum farther up
if (!stats)
stats = new /datum/stat_holder(src)
Expand Down Expand Up @@ -915,4 +918,4 @@ default behaviour is:
var/matrix/M = matrix()
M.Scale(desired_scale)
M.Translate(0, 16*(desired_scale-1))
src.transform = M
src.transform = M

0 comments on commit 9390470

Please sign in to comment.