Парсек

This commit is contained in:
BIGZi0348
2025-03-16 13:46:59 +03:00
parent ed07dc7f11
commit 1c8f44794f
77 changed files with 517 additions and 493 deletions

View File

@@ -69,7 +69,7 @@ namespace Content.Server.Tabletop
session.Entities.TryGetValue(entity, out var result);
session.Entities.Remove(result);
tabletop.HologramsSpawned--; // Giedi Prime fix
tabletop.HologramsSpawned--; // PARSEC fix
QueueDel(result);
}
@@ -145,7 +145,7 @@ namespace Content.Server.Tabletop
var playVerb = new ActivationVerb()
{
Text = Loc.GetString("tabletop-verb-play-game"),
Icon = new SpriteSpecifier.Texture(new ("/Textures/Interface/VerbIcons/die.svg.192dpi.png")),
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/VerbIcons/die.svg.192dpi.png")),
Act = () => OpenSessionFor(actor.PlayerSession, uid)
};
@@ -173,7 +173,7 @@ namespace Content.Server.Tabletop
private void OnPlayerDetached(EntityUid uid, TabletopGamerComponent component, PlayerDetachedEvent args)
{
if(component.Tabletop.IsValid())
if (component.Tabletop.IsValid())
CloseSessionFor(args.Player, component.Tabletop);
}
@@ -182,7 +182,7 @@ namespace Content.Server.Tabletop
if (!EntityManager.TryGetComponent(uid, out ActorComponent? actor))
return;
if(component.Tabletop.IsValid())
if (component.Tabletop.IsValid())
CloseSessionFor(actor.PlayerSession, component.Tabletop);
}