mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
Unrevert "Remove obsolete GridId and all references to it" (#3279)
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Robust.Client.Debugging
|
||||
|
||||
private Label? _label;
|
||||
|
||||
private (GridId GridId, TileRef Tile)? _hovered;
|
||||
private (EntityUid GridId, TileRef Tile)? _hovered;
|
||||
|
||||
public bool Enabled
|
||||
{
|
||||
@@ -71,9 +71,9 @@ namespace Robust.Client.Debugging
|
||||
var tile = grid.GetTileRef(spot);
|
||||
_label.Position = mouseSpot.Position + new Vector2(32, 0);
|
||||
|
||||
if (_hovered?.GridId == grid.Index && _hovered?.Tile == tile) return;
|
||||
if (_hovered?.GridId == grid.GridEntityId && _hovered?.Tile == tile) return;
|
||||
|
||||
_hovered = (grid.Index, tile);
|
||||
_hovered = (grid.GridEntityId, tile);
|
||||
|
||||
var text = new StringBuilder();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user