Table Vaulting notify messages use the name (#1828)

This commit is contained in:
Exp
2020-08-21 00:08:16 +02:00
committed by GitHub
parent b1eb320b0a
commit ce1dc6d86b

View File

@@ -174,8 +174,8 @@ namespace Content.Server.GameObjects.Components.Movement
// we may potentially need additional logic since we're forcing a player onto a climbable
// there's also the cases where the user might collide with the person they are forcing onto the climbable that i haven't accounted for
PopupMessageOtherClientsInRange(user, Loc.GetString("{0:them} forces {1:them} onto {2:theName}!", user, entityToMove, Owner), 15);
_notifyManager.PopupMessage(user, user, Loc.GetString("You force {0:them} onto {1:theName}!", entityToMove, Owner));
PopupMessageOtherClientsInRange(user, Loc.GetString("{0} forces {1} onto {2:theName}!", user.Name, entityToMove.Name, Owner), 15);
_notifyManager.PopupMessage(user, user, Loc.GetString("You force {0} onto {1:theName}!", entityToMove.Name, Owner));
}
}
@@ -210,7 +210,7 @@ namespace Content.Server.GameObjects.Components.Movement
climbMode.TryMoveTo(user.Transform.WorldPosition, endPoint);
PopupMessageOtherClientsInRange(user, Loc.GetString("{0:them} jumps onto {1:theName}!", user, Owner), 15);
PopupMessageOtherClientsInRange(user, Loc.GetString("{0} jumps onto {1:theName}!", user.Name, Owner), 15);
_notifyManager.PopupMessage(user, user, Loc.GetString("You jump onto {0:theName}!", Owner));
}
}