MapManager warning cleanup shared edition (#36795)
* cleanup and reworking * one of these days I'll merge a conflict without breaking shit. * Update Content.Shared/Shuttles/Systems/SharedShuttleSystem.cs Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Update Content.Shared/Tabletop/SharedTabletopSystem.cs Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * I'm gonna send this but... I'll be honest, I dunno what it does. * fix coordinates --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
@@ -41,7 +41,7 @@ public abstract partial class SharedShuttleSystem : EntitySystem
|
||||
/// </summary>
|
||||
public bool CanFTLTo(EntityUid shuttleUid, MapId targetMap, EntityUid consoleUid)
|
||||
{
|
||||
var mapUid = _mapManager.GetMapEntityId(targetMap);
|
||||
var mapUid = Maps.GetMapOrInvalid(targetMap);
|
||||
var shuttleMap = _xformQuery.GetComponent(shuttleUid).MapID;
|
||||
|
||||
if (shuttleMap == targetMap)
|
||||
|
||||
Reference in New Issue
Block a user