rc3/maps/ir/cellar/01/switch.php
Stephan Messlinger cb1c39e7dc cleanup cellar01
2021-02-16 04:51:02 +01:00

11 lines
303 B
PHP

<?php
$state = json_decode(file_get_contents("state.json"), true);
$state["switch_open"] = 1;
file_put_contents("state.json", json_encode($state));
# Load current level and patch exits to target the copy
$data = file_get_contents("switch.mp3");
header('Content-type: audio/mpeg');
echo($data);
exit;
?>