mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-02-20 11:08:21 +00:00
2.9b
- Hotfix for musickit (probably not 100% valid) - Hotfix for website
This commit is contained in:
@@ -4,7 +4,7 @@ class UtilsClass
|
||||
public static function skinsFromJson(): array
|
||||
{
|
||||
$skins = [];
|
||||
$json = json_decode(file_get_contents(__DIR__ . "/../data/skins.json"), true);
|
||||
$json = json_decode(file_get_contents(__DIR__ . "/../data/".SKIN_LANGUAGE.".json"), true);
|
||||
|
||||
foreach ($json as $skin) {
|
||||
$skins[(int) $skin['weapon_defindex']][(int) $skin['paint']] = [
|
||||
|
||||
Reference in New Issue
Block a user