mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
Slightly refactors storage item insertion (#24429)
* everything is on fire * silent trait check * how did it even become CRLF * minor formatting * fix icon updating and adds silent insertion to global trait list * adds the new parameter to documentation - whoops! * pain * contra review * contra review again, reduces amount of checks for user in the loops --------- Co-authored-by: cybercapitalism <98280110+cybercapitalism@users.noreply.github.com>
This commit is contained in:
@@ -427,9 +427,9 @@
|
||||
return bag.can_be_inserted(I, stop_messages)
|
||||
return FALSE
|
||||
|
||||
/obj/item/mod/control/proc/handle_item_insertion(I, prevent_warning)
|
||||
/obj/item/mod/control/proc/handle_item_insertion(I, mob/user, prevent_warning)
|
||||
if(bag)
|
||||
bag.handle_item_insertion(I, prevent_warning)
|
||||
bag.handle_item_insertion(I, user, prevent_warning)
|
||||
|
||||
/obj/item/mod/control/get_cell()
|
||||
if(!open)
|
||||
|
||||
Reference in New Issue
Block a user