From 2d882e78bbe891895c0ce906aac69076e44ae6b1 Mon Sep 17 00:00:00 2001 From: wrexbe <81056464+wrexbe@users.noreply.github.com> Date: Sun, 12 Jun 2022 15:52:51 -0700 Subject: [PATCH] Prevent accidental crayon eating (#8799) --- Content.Server/Crayon/CrayonSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Crayon/CrayonSystem.cs b/Content.Server/Crayon/CrayonSystem.cs index 75f9507457..3d8b19b1bd 100644 --- a/Content.Server/Crayon/CrayonSystem.cs +++ b/Content.Server/Crayon/CrayonSystem.cs @@ -30,7 +30,7 @@ public sealed class CrayonSystem : SharedCrayonSystem SubscribeLocalEvent(OnCrayonInit); SubscribeLocalEvent(OnCrayonBoundUI); SubscribeLocalEvent(OnCrayonBoundUIColor); - SubscribeLocalEvent(OnCrayonUse); + SubscribeLocalEvent(OnCrayonUse, before: new []{ typeof(FoodSystem) }); SubscribeLocalEvent(OnCrayonAfterInteract, after: new []{ typeof(FoodSystem) }); SubscribeLocalEvent(OnCrayonDropped); SubscribeLocalEvent(OnCrayonGetState);