mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
Fix impact audio for host
This commit is contained in:
parent
d3dc4f4023
commit
232aec2a52
@ -8,7 +8,8 @@ namespace QSB.Audio.Patches;
|
||||
|
||||
internal class PlayerImpactAudioPatches : QSBPatch
|
||||
{
|
||||
public override QSBPatchTypes Type => QSBPatchTypes.OnClientConnect;
|
||||
// Since we patch Start we do it when the mod starts, else it won't run
|
||||
public override QSBPatchTypes Type => QSBPatchTypes.OnModStart;
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(PlayerImpactAudio), nameof(PlayerImpactAudio.Start))]
|
||||
|
Loading…
Reference in New Issue
Block a user