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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

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;
}