Pixel-Composer/scripts/safe_operation/safe_operation.gml

3 lines
69 B
Plaintext
Raw Normal View History

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