mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
Merge pull request #6990 from VOREStation/upstream-merge-6895
[MIRROR] Fix runtime in sound.dm: playsound(): source is an area
This commit is contained in:
@@ -232,7 +232,7 @@
|
||||
|
||||
if(WT.remove_fuel(0,user))
|
||||
to_chat(user, "<span class='notice'>You start repairing the damage to [src].</span>")
|
||||
playsound(src.loc, WT.usesound, 100, 1)
|
||||
playsound(src, WT.usesound, 100, 1)
|
||||
if(do_after(user, max(5, damage / 5) * WT.toolspeed) && WT && WT.isOn())
|
||||
to_chat(user, "<span class='notice'>You finish repairing the damage to [src].</span>")
|
||||
take_damage(-damage)
|
||||
|
||||
Reference in New Issue
Block a user