Skip to content

Commit

Permalink
fix(things): removes runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyThorne authored Apr 2, 2024
1 parent 3ef1e4b commit a8a6c0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion code/datums/sound_player.dm
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,9 @@ GLOBAL_DATUM_INIT(sound_player, /decl/sound_player, new)
var/turf/source_turf = get_turf(source)
var/turf/listener_turf = get_turf(listener)

ASSERT(istype(source_turf) && istype(listener_turf))
if(!istype(source_turf) && !istype(listener_turf)) // Oh look somebody's got nullspace'd
PrivRemoveListener(listener)
return

var/distance = get_dist(source_turf, listener_turf)
if(!listener_turf || (distance > range) || !(listener_turf in can_be_heard_from))
Expand Down
2 changes: 1 addition & 1 deletion code/modules/clothing/clothing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ GLOBAL_LIST_EMPTY(clothing_blood_icons)
if(slot == slot_l_hand_str || slot == slot_r_hand_str)
return

var/image/ret = .
var/image/ret = . ? . : image('icons/effects/blank.dmi')

if(ishuman(user_mob))
var/mob/living/carbon/human/user_human = user_mob
Expand Down

0 comments on commit a8a6c0b

Please sign in to comment.