4
0
Fork 0
This repository has been archived on 2023-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
surprise_dungeon/objects/oGame/Step_0.gml
2020-12-06 14:02:23 +01:00

13 lines
No EOL
186 B
Text

// chrono
if (!perdu) {
global.secondes -= 1/room_speed;
if (global.secondes <= 0) {
global.minutes --;
global.secondes = 20;
}
if (global.minutes <= 0) {
perdu = true;
}
}