Парсек
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user