Content side for removing IMap / IMapGrid comps (#12357)
This commit is contained in:
@@ -49,7 +49,7 @@ namespace Content.Server.Tabletop
|
||||
TabletopMap = _mapManager.CreateMap();
|
||||
_tabletops = 0;
|
||||
|
||||
var mapComp = EntityManager.GetComponent<IMapComponent>(_mapManager.GetMapEntityId(TabletopMap));
|
||||
var mapComp = EntityManager.GetComponent<MapComponent>(_mapManager.GetMapEntityId(TabletopMap));
|
||||
|
||||
// Lighting is always disabled in tabletop world.
|
||||
mapComp.LightingEnabled = false;
|
||||
|
||||
Reference in New Issue
Block a user