Fixes various runtimes (#8702)

* Fixes runtime:

type mismatch: "30" -= 0
proc name: playsound to (/mob/proc/playsound_to)

* Fixes runtime:

Cannot read null.name
proc name: Toggle Underwear (/mob/living/carbon/human/verb/toggle_underwear)

* Fixes runtime:

invalid view size
proc name: get mobs and objs in view fast (/proc/get_mobs_and_objs_in_view_fast)
This commit is contained in:
Werner
2020-04-20 15:04:36 +02:00
committed by GitHub
parent 90c8080d4a
commit b58a4b6c22
3 changed files with 4 additions and 2 deletions

View File

@@ -174,7 +174,7 @@
playsound(user, W.usesound, 100, 1)
if (do_after(user, 20/W.toolspeed))
new /obj/item/stack/material/steel(get_turf(src.loc), steel_sheet_cost)
src.visible_message("\The [user] disassembles \the [src].",
user.visible_message("\The [user] disassembles \the [src].",
"You disassemble \the [src].",
"You hear a ratchet.")
qdel(src)