mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 19:47:47 +01:00
fix a bunch of runtimes (#19226)
This commit is contained in:
@@ -215,9 +215,9 @@
|
||||
affecting.update_damages()
|
||||
if(used == amount)
|
||||
if(affecting.is_bandaged())
|
||||
balloon_alert(user, "\the [src] is used up.")
|
||||
user.balloon_alert(user, "\the [src] is used up.")
|
||||
else
|
||||
balloon_alert(user, "\the [src] is used up, but there are more wounds to treat on \the [affecting.name].")
|
||||
user.balloon_alert(user, "\the [src] is used up, but there are more wounds to treat on \the [affecting.name].")
|
||||
use(used)
|
||||
|
||||
/obj/item/stack/medical/ointment
|
||||
|
||||
@@ -442,16 +442,19 @@
|
||||
if(istype(W, /obj/item/gripper))
|
||||
var/obj/item/gripper/G = W
|
||||
G.consolidate_stacks(src)
|
||||
if(QDELETED(src))
|
||||
return
|
||||
|
||||
else if(istype(W, /obj/item/stack))
|
||||
var/obj/item/stack/S = W
|
||||
src.transfer_to(S)
|
||||
if(QDELETED(src))
|
||||
return
|
||||
|
||||
spawn(0) //give the stacks a chance to delete themselves if necessary
|
||||
if (S && user.check_current_machine(S))
|
||||
S.interact(user)
|
||||
if (src && user.check_current_machine(src))
|
||||
src.interact(user)
|
||||
if (S && user.check_current_machine(S))
|
||||
S.interact(user)
|
||||
if (src && user.check_current_machine(src))
|
||||
src.interact(user)
|
||||
else
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user