Ремув попапа сна (#146)

* remove: remove ZZZ popup

* fix: client popup for target doll
This commit is contained in:
ThereDrD0
2024-03-11 02:07:37 +03:00
committed by GitHub
parent 2c0ce46898
commit 3f005b158b
5 changed files with 6 additions and 10 deletions

View File

@@ -30,7 +30,12 @@ public sealed class DamagePopupSystem : EntitySystem
DamagePopupType.Hit => "!",
_ => "Invalid type",
};
_popupSystem.PopupEntity(msg, uid);
if (args.Origin.HasValue)
_popupSystem.PopupEntity(msg, uid, args.Origin.Value);
else
_popupSystem.PopupEntity(msg, uid);
}
}
}