From 916a67d1133dc2acb97bb37e65796608daf4a728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= Date: Sun, 31 May 2020 19:56:44 +0200 Subject: [PATCH] Fix typo --- .../GameObjects/Components/Items/FloorTileItemComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/GameObjects/Components/Items/FloorTileItemComponent.cs b/Content.Server/GameObjects/Components/Items/FloorTileItemComponent.cs index ac83fb5b20..5d661e74b2 100644 --- a/Content.Server/GameObjects/Components/Items/FloorTileItemComponent.cs +++ b/Content.Server/GameObjects/Components/Items/FloorTileItemComponent.cs @@ -55,7 +55,7 @@ namespace Content.Server.GameObjects.Components.Items var desiredTile = _tileDefinitionManager[_outputTile]; mapGrid.SetTile(eventArgs.ClickLocation, new Tile(desiredTile.TileId)); EntitySystem.Get().Play("/Audio/items/genhit.ogg", eventArgs.ClickLocation); - if(Stack.Count < 1){ + if(_stack.Count < 1){ Owner.Delete(); } }