From fdda8e56e6cf6859574a822511649b0fff425134 Mon Sep 17 00:00:00 2001 From: JavidPack Date: Thu, 18 Mar 2021 23:10:56 -0600 Subject: [PATCH] Fix #28 --- HEROsModServices/Teleporter.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HEROsModServices/Teleporter.cs b/HEROsModServices/Teleporter.cs index eec7c00..6b8c7f9 100644 --- a/HEROsModServices/Teleporter.cs +++ b/HEROsModServices/Teleporter.cs @@ -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)) { @@ -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(); } } }