mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-05-18 21:21:56 +00:00
2.9b
- Hotfix for musickit (probably not 100% valid) - Hotfix for website
This commit is contained in:
@@ -325,13 +325,13 @@ internal class WeaponSynchronization
|
||||
if (weaponTeam == CsTeam.None)
|
||||
{
|
||||
// Assign music ID to both teams if weaponTeam is None
|
||||
playerMusic[CsTeam.Terrorist] = row.music_id.Value;
|
||||
playerMusic[CsTeam.CounterTerrorist] = row.music_id.Value;
|
||||
playerMusic[CsTeam.Terrorist] = (ushort)row.music_id;
|
||||
playerMusic[CsTeam.CounterTerrorist] = (ushort)row.music_id;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Assign music ID to the specific team
|
||||
playerMusic[weaponTeam] = row.music_id.Value;
|
||||
playerMusic[weaponTeam] = (ushort)row.music_id;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user