Rename DetachHands to AttachToGridOrMap (#1436)

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
ShadowCommander
2020-07-25 16:43:40 -07:00
committed by GitHub
parent 4b4e83d2bf
commit dbfc030c5b
4 changed files with 4 additions and 4 deletions

View File

@@ -204,7 +204,7 @@ namespace Content.Server.GameObjects.Components.Movement
// Departure
// Do we need to rate-limit sounds to stop ear BLAST?
soundPlayer.PlayAtCoords(_departureSound, entity.Transform.GridPosition);
entity.Transform.DetachParent();
entity.Transform.AttachToGridOrMap();
entity.Transform.GridPosition = position;
soundPlayer.PlayAtCoords(_arrivalSound, entity.Transform.GridPosition);
TryChangeState(PortalState.RecentlyTeleported);