Skip to content

Commit

Permalink
Update king.dm
Browse files Browse the repository at this point in the history
not trigger errors on autowiki
  • Loading branch information
Doubleumc committed Sep 8, 2024
1 parent 672ce3f commit e6a81e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/castes/king.dm
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@

playsound(src, 'sound/voice/alien_death_unused.ogg', 100, TRUE, 30, falloff = 5)
playsound(src, 'sound/voice/king_background.ogg', 100, TRUE, 30, falloff = 5)
if(!get_turf(src)) //autowiki compat, spawns in nullspace
return
for(var/mob/current_mob as anything in get_mobs_in_z_level_range(get_turf(src), 30) - src)
var/relative_dir = get_dir(current_mob, src)
var/final_dir = dir2text(relative_dir)
Expand Down

0 comments on commit e6a81e0

Please sign in to comment.