mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 19:47:47 +01:00
oven door shut (#18049)
* lazylen this * Fixes removing things from a closed oven
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
|
||||
if(istype(I) && can_insert(I)) // Why do hard work when we can just make them smack us?
|
||||
attackby(I, ui.user)
|
||||
else if(istype(CI))
|
||||
else if(istype(CI) && can_remove_items(ui.user))
|
||||
eject(CI, ui.user)
|
||||
return TRUE
|
||||
if(istype(I)) // Why do hard work when we can just make them smack us?
|
||||
|
||||
@@ -46,7 +46,7 @@ fundamental differences
|
||||
to_chat(usr, span_notice("You can't operate [src]."))
|
||||
return
|
||||
|
||||
if(output_options.len)
|
||||
if(LAZYLEN(output_options))
|
||||
var/choice = tgui_input_list(usr, "What specific food do you wish to make with \the [src]?", "Food Output Choice", output_options)
|
||||
if(!choice)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user