Skip radar sound if the player is looking at the tile

master
shoaib11120 2022-01-19 13:17:43 +05:30
parent 603c3e43a0
commit 2b59c6759d
1 changed files with 4 additions and 0 deletions

View File

@ -195,6 +195,10 @@ namespace stardew_access.Game
public void playSoundAt(Vector2 position, String? searchQuery)
{
// Skip if player is directly looking at the tile
if (CurrentPlayer.getNextTile().Equals(position))
return;
if (searchQuery == null || !exclusions.Contains(searchQuery.ToLower().Trim()))
{
if(MainClass.radarDebug)