JonnyBro / beatrun

Fork of infamous parkour addon for Garry's Mod

Home Page:https://beatrun.jonnybro.ru

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] [Linux] Failed to load sounds from subfolders of "mirrorsedge/" folder.

Turelk opened this issue · comments

Describe the bug
Beatrun sounds that are in a subfolder of the "mirrorsedge" folder, it can't play it.

To Reproduce
Steps to reproduce the behavior:

  1. Open linux garry's mod build.
  2. Run a map in beatrun gamemode.
  3. Trigger playback of sound located in the subfolder of "mirrorsedge" folder. (Climb up a ladder)
  4. See "Failed to load sound "MirrorsEdge/subfolder name here/sound name here" error in console.

Expected behavior
Play sound.

Screenshots/Videos
Video
error

Additional information:

  • Game Version: x64
  • Game Type: singleplayer and multiplayer

Additional context
Sounds are there and they're fine.

Fix!
Change capital letters to lowercase letters in subfolders names.

I'll check it out but doesn't expect anything. I dont use linux

oh wait, it should be an easy fix

can you update and check again?

can you update and check again?

I updated the mod, tested it and it didn't work

actualfix
Changing folder capital letters to lowercase letters in their name, fixes the bug.

i'll rename all the folders and their code then, thanks! I forget that Linux is case-sensetive to that (Windows is not)