Skip to content

Commit

Permalink
Update functions.php for CS2
Browse files Browse the repository at this point in the history
  • Loading branch information
AEon-Jan authored Oct 5, 2023
1 parent 05d5f78 commit 0b98e3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stuff/methods/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,7 @@ function workAroundForValveChaos ($appID, $shorten, $toApi = true) {
}
} else {

$mapping = array(510 => 500, 740 => 730, 4020 => 4000, 4940 => 4920, 17505 => 17500, 17510 => 17515, 17570 => 17575, 111710 => 17710, 215350 => 1250, 215360 => 1250, 222860 => 550, 229830 => 440, 232250 => 440, 232290 => 300, 232330 => 240, 232370 => 320, 258550 => 252490, 259080 => 261140, 295230 => 265630, 317670 => 224260, 332670 => 234630, 376030 => 346110);
$mapping = array(510 => 500, 4020 => 4000, 4940 => 4920, 17505 => 17500, 17510 => 17515, 17570 => 17575, 111710 => 17710, 215350 => 1250, 215360 => 1250, 222860 => 550, 229830 => 440, 232250 => 440, 232290 => 300, 232330 => 240, 232370 => 320, 258550 => 252490, 259080 => 261140, 295230 => 265630, 317670 => 224260, 332670 => 234630, 376030 => 346110);

if (isset($mapping[$appID])) {
return $mapping[$appID];
Expand All @@ -1524,7 +1524,7 @@ function workAroundForValveChaos ($appID, $shorten, $toApi = true) {

} else {

$mapping = array(240 => 232330, 300 => 232290, 320 => 232370, 440 => 232250, 500 => 510, 730 => 740, 550 => 222860, 1250 => 215360, 4000 => 4020, 4920 => 4940, 17500 => 17505, 17515 => 17510, 17575 => 17570, 17710 => 111710, 215350 => 215360, 224260 => 317670, 234630 => 332670, 252490 => 258550, 261140 => 259080, 265630 => 295230, 346110 => 376030);
$mapping = array(240 => 232330, 300 => 232290, 320 => 232370, 440 => 232250, 500 => 510, 550 => 222860, 1250 => 215360, 4000 => 4020, 4920 => 4940, 17500 => 17505, 17515 => 17510, 17575 => 17570, 17710 => 111710, 215350 => 215360, 224260 => 317670, 234630 => 332670, 252490 => 258550, 261140 => 259080, 265630 => 295230, 346110 => 376030);

if (isset($mapping[$appID])) {
return $mapping[$appID];
Expand Down Expand Up @@ -1713,4 +1713,4 @@ function __debug($pre){
print_r($pre);
echo "</pre>";
}
}
}

0 comments on commit 0b98e3c

Please sign in to comment.