Skip to content

Commit

Permalink
Fix a to chat runtime with stoves (#77178)
Browse files Browse the repository at this point in the history
## About The Pull Request

Missed an arg


## Changelog

:cl: Melbert
fix: Fixes runtime from trying to put two pots on one stove. 
/:cl:
  • Loading branch information
MrMelbert authored and Absolucy committed Jun 12, 2024
1 parent 9a8c74a commit 8570078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/food_and_drinks/machinery/stove_component.dm
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
if(!attacking_item.is_open_container())
return
if(!isnull(container))
to_chat(span_warning("You wouldn't dare try to cook two things on the same stove simultaneously. \
to_chat(user, span_warning("You wouldn't dare try to cook two things on the same stove simultaneously. \
What if it cross contaminates?"))
return COMPONENT_NO_AFTERATTACK

Expand Down

0 comments on commit 8570078

Please sign in to comment.