Skip to content

Commit

Permalink
Update portable_atmospherics.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons authored Sep 28, 2023
1 parent 1b171b4 commit 08feaf3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,18 @@
if("eject")
if(isnull(holding))
return TRUE
on_eject(holding, usr)
usr.action_feedback(SPAN_NOTICE("You remove [holding] from [src]."), src)
usr.grab_item_from_interacted_with(holding, src)
holding = null
return TRUE

/**
* Called on tank ejection
*/
/obj/machinery/portable_atmospherics/proc/on_eject(obj/item/tank/tank, mob/user)
return TRUE

/obj/machinery/portable_atmospherics/proc/set_on(enabled)
on = enabled
update_icon()
Expand Down

0 comments on commit 08feaf3

Please sign in to comment.