Skip to content

Commit

Permalink
fixed a major bug with updating processes
Browse files Browse the repository at this point in the history
  • Loading branch information
katsaii committed Jul 20, 2021
1 parent 100fb20 commit 0079ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/scr_catspeak/scr_catspeak.gml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function __catspeak_kill_runtime_process(_process_id) {
function __catspeak_next_runtime_process() {
var catspeak = __catspeak_manager();
if (catspeak.runtimeProcessID < 1) {
catspeak.runtimeProcessID = catspeak.runtimeProcessCount - 1;
catspeak.runtimeProcessID = max(catspeak.runtimeProcessCount - 1, 0);
} else {
catspeak.runtimeProcessID -= 1;
}
Expand Down

0 comments on commit 0079ef7

Please sign in to comment.