Moved sounds to assets folder
This commit is contained in:
@@ -57,7 +57,7 @@ namespace stardew_access
|
||||
}
|
||||
|
||||
SoundEffect effect;
|
||||
string filePath = Path.Combine(MainClass.ModHelper.DirectoryPath, "sounds", $"{soundEffect.Key}.wav");
|
||||
string filePath = Path.Combine(MainClass.ModHelper.DirectoryPath, "assets", "sounds", $"{soundEffect.Key}.wav");
|
||||
using (FileStream stream = new(filePath, FileMode.Open))
|
||||
{
|
||||
effect = SoundEffect.FromStream(stream);
|
||||
|
||||
@@ -300,7 +300,7 @@ namespace stardew_access.Features
|
||||
/// <br/>name: This is the name of the tile. Default to null if the tile tile has nothing on it.</returns>
|
||||
public static (CATEGORY? category, string? name) getDynamicTilesInfo(int x, int y, bool lessInfo = false)
|
||||
{
|
||||
if (Game1.currentLocation.orePanPoint != Point.Zero && Game1.currentLocation.orePanPoint == new Point(x, y))
|
||||
if (Game1.currentLocation.orePanPoint.Value != Point.Zero && Game1.currentLocation.orePanPoint.Value == new Point(x, y))
|
||||
{
|
||||
return (CATEGORY.Interactables, "panning spot");
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user