ActionBlocker CanSweat uses EntityUid exclusively

This commit is contained in:
Vera Aguilera Puerto
2021-11-09 13:52:27 +01:00
parent cc9ae191a8
commit 29f3d2d1ca
3 changed files with 7 additions and 13 deletions

View File

@@ -279,7 +279,7 @@ namespace Content.Server.Body.Respiratory
if (temperatureComponent.CurrentTemperature > NormalBodyTemperature)
{
if (!actionBlocker.CanSweat(Owner)) return;
if (!actionBlocker.CanSweat(OwnerUid)) return;
if (!_isSweating)
{
Owner.PopupMessage(Loc.GetString("metabolism-component-is-sweating"));