(12cfc8a35) Fixed doctor tutorial attempting to find the Doctor job based on the name instead of identifier

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:45:02 +03:00
parent 3b5ae37a1a
commit 08ade4a262
10 changed files with 122 additions and 319 deletions
@@ -1145,15 +1145,6 @@ namespace Barotrauma
SmoothedCursorPosition = cursorPosition - smoothedCursorDiff;
}
if (!(this is AICharacter) || Controlled == this || IsRemotePlayer)
{
//apply some smoothing to the cursor positions of remote players when playing as a client
//to make aiming look a little less choppy
Vector2 smoothedCursorDiff = cursorPosition - SmoothedCursorPosition;
smoothedCursorDiff = NetConfig.InterpolateCursorPositionError(smoothedCursorDiff);
SmoothedCursorPosition = cursorPosition - smoothedCursorDiff;
}
if (!(this is AICharacter) || Controlled == this || IsRemotePlayer)
{
SmoothedCursorPosition = cursorPosition;