Set Handled for Deconstructing Items (#1483)

This commit is contained in:
Alex S
2020-07-26 08:30:28 -04:00
committed by GitHub
parent d3866a3372
commit f44fb104f2

View File

@@ -120,6 +120,7 @@ namespace Content.Server.GameObjects.EntitySystems
{
_notifyManager.PopupMessage(msg.Attacked, msg.User,
"Cannot be deconstructed.");
msg.Handled = true;
return;
}
@@ -129,6 +130,7 @@ namespace Content.Server.GameObjects.EntitySystems
{
_notifyManager.PopupMessage(msg.Attacked, msg.User,
"Cannot be deconstructed.");
msg.Handled = true;
return;
}
@@ -138,6 +140,7 @@ namespace Content.Server.GameObjects.EntitySystems
{
_notifyManager.PopupMessage(msg.Attacked, msg.User,
"Wrong tool to start deconstruct.");
msg.Handled = true;
return;
}