Skip to content

Commit 0b98e3c

Browse files
authored
Update functions.php for CS2
1 parent 05d5f78 commit 0b98e3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stuff/methods/functions.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,7 @@ function workAroundForValveChaos ($appID, $shorten, $toApi = true) {
15081508
}
15091509
} else {
15101510

1511-
$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);
1511+
$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);
15121512

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

15251525
} else {
15261526

1527-
$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);
1527+
$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);
15281528

15291529
if (isset($mapping[$appID])) {
15301530
return $mapping[$appID];
@@ -1713,4 +1713,4 @@ function __debug($pre){
17131713
print_r($pre);
17141714
echo "</pre>";
17151715
}
1716-
}
1716+
}

0 commit comments

Comments
 (0)