game: fix modulus in particle emmiter

it supposed to be floating-point modulus, not
int modulus