Skip to content

Commit

Permalink
Fix #28
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidPack committed Mar 19, 2021
1 parent 8ee3b68 commit fdda8e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HEROsModServices/Teleporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public void PostDrawFullScreenMap()
if (HasPermissionToUse && !Main.gameMenu)
{
Main.spriteBatch.DrawString(Main.fontMouseText, HEROsMod.HeroText("RightClickToTeleport"), new Vector2(15, Main.screenHeight - 80), Color.White);
Terraria.GameInput.PlayerInput.SetZoom_Unscaled();

if (Main.mouseRight && Main.keyState.IsKeyUp(Microsoft.Xna.Framework.Input.Keys.LeftControl))
{
Expand Down Expand Up @@ -102,6 +103,7 @@ public void PostDrawFullScreenMap()
//NetMessage.SendData(65, -1, -1, "", 0, player.whoAmI, cursorWorldPosition.X, cursorWorldPosition.Y, 1, 0, 0);
}
}
Terraria.GameInput.PlayerInput.SetZoom_UI();
}
}
}
Expand Down

0 comments on commit fdda8e5

Please sign in to comment.