BeatTogether / BeatTogether.Quest

A multiplayer private server for the modding community. Supports crossplay between PC and Quest.
MIT License
136 stars 22 forks source link

Fixed getter patch causing crash. Changed configuration file path. #10

Closed Lauriethefish closed 3 years ago

Lauriethefish commented 3 years ago

Changed the way of patching the master server URL to the MainSystemInit Init method instead of patching the getter directly. Patching the getter directly causes a crash since the method is too short, so the hook partially overwrites the next method. This means that when the next method is called you get a crash with an invalid instruction.

Also changed the configuration path to the new ModData folder, since this is what other mods do.