add support for per-id access on AccessReaderComponent (#13659)
* add support for per-id access on AccessReaderComponent * comments!!! * oh yeah we predicting baby * foobar * sloth review * weh
This commit is contained in:
@@ -130,7 +130,8 @@ namespace Content.Shared.Emag.Systems
|
||||
|
||||
if (component.Charges <= 0)
|
||||
{
|
||||
_popupSystem.PopupEntity(Loc.GetString("emag-no-charges"), user, user);
|
||||
if (_net.IsServer)
|
||||
_popupSystem.PopupEntity(Loc.GetString("emag-no-charges"), user, user);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user