Remove component.Startup calls (#18229)
This commit is contained in:
@@ -50,12 +50,13 @@ namespace Content.Server.Tabletop
|
||||
|
||||
TabletopMap = _mapManager.CreateMap();
|
||||
_tabletops = 0;
|
||||
var mapUid = _mapManager.GetMapEntityId(TabletopMap);
|
||||
|
||||
var mapComp = EntityManager.GetComponent<MapComponent>(_mapManager.GetMapEntityId(TabletopMap));
|
||||
var mapComp = EntityManager.GetComponent<MapComponent>(mapUid);
|
||||
|
||||
// Lighting is always disabled in tabletop world.
|
||||
mapComp.LightingEnabled = false;
|
||||
mapComp.Dirty();
|
||||
Dirty(mapUid, mapComp);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user