Skip to content

Commit fdda8e5

Browse files
committed
Fix #28
1 parent 8ee3b68 commit fdda8e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

HEROsModServices/Teleporter.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public void PostDrawFullScreenMap()
6363
if (HasPermissionToUse && !Main.gameMenu)
6464
{
6565
Main.spriteBatch.DrawString(Main.fontMouseText, HEROsMod.HeroText("RightClickToTeleport"), new Vector2(15, Main.screenHeight - 80), Color.White);
66+
Terraria.GameInput.PlayerInput.SetZoom_Unscaled();
6667

6768
if (Main.mouseRight && Main.keyState.IsKeyUp(Microsoft.Xna.Framework.Input.Keys.LeftControl))
6869
{
@@ -102,6 +103,7 @@ public void PostDrawFullScreenMap()
102103
//NetMessage.SendData(65, -1, -1, "", 0, player.whoAmI, cursorWorldPosition.X, cursorWorldPosition.Y, 1, 0, 0);
103104
}
104105
}
106+
Terraria.GameInput.PlayerInput.SetZoom_UI();
105107
}
106108
}
107109
}

0 commit comments

Comments
 (0)