Skip to content

Commit

Permalink
[MIRROR] Fix oven tray runtime (#2120)
Browse files Browse the repository at this point in the history
* Fix oven tray runtime (#82782)

## About The Pull Request
Fixes a lil typo from the interaction refactors that broke the ability
to load oven trays from containers
## Why It's Good For The Game
squamsh bug
## Changelog
:cl:
fix: loading oven trays from serving trays and other containers works
again
/:cl:

* Fix oven tray runtime

---------

Co-authored-by: FlufflesTheDog <[email protected]>
  • Loading branch information
2 people authored and StealsThePRs committed Apr 21, 2024
1 parent ae5d496 commit 69ca307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/food_and_drinks/machinery/oven.dm
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
if(isnull(item.atom_storage))
return NONE

if(length(contents >= max_items))
if(length(contents) >= max_items)
balloon_alert(user, "it's full!")
return ITEM_INTERACT_BLOCKING

Expand Down

0 comments on commit 69ca307

Please sign in to comment.