Pixel-Composer/scripts/safe_operation/safe_operation.gml

3 lines
69 B
Text
Raw Normal View History

2022-01-13 11:24:03 +07:00
function safe_mod(numb, modd) {
2023-02-20 16:16:31 +07:00
return modd == 0? 0 : numb % modd;
2022-01-13 11:24:03 +07:00
}