]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Prediction for use of utensil on incompatible food (#38297)
authorQerd <73325910+BigfootBravo@users.noreply.github.com>
Fri, 13 Jun 2025 01:48:28 +0000 (18:48 -0700)
committerGitHub <noreply@github.com>
Fri, 13 Jun 2025 01:48:28 +0000 (18:48 -0700)
Prediction our beloved

Content.Shared/Nutrition/EntitySystems/UtensilSystem.cs

index e100d25589d9ca4888fa637375406355833c338c..431302593d797c099da53b4e7cfcdf87086a628d 100644 (file)
@@ -44,7 +44,7 @@ public sealed class UtensilSystem : EntitySystem
         //Prevents food usage with a wrong utensil
         if ((food.Utensil & utensil.Comp.Types) == 0)
         {
-            _popupSystem.PopupEntity(Loc.GetString("food-system-wrong-utensil", ("food", target), ("utensil", utensil.Owner)), user, user);
+            _popupSystem.PopupClient(Loc.GetString("food-system-wrong-utensil", ("food", target), ("utensil", utensil.Owner)), user, user);
             return (false, true);
         }