js: fix object id generator

This commit is contained in:
Alexey Andreev 2023-09-27 13:51:37 +02:00
parent eed44998f0
commit 348b71685d

View File

@ -18,7 +18,7 @@ var $rt_seed = 2463534242;
function $rt_nextId() {
var x = $rt_seed;
x ^= x << 13;
x ^= x >> 17;
x ^= x >>> 17;
x ^= x << 5;
$rt_seed = x;
return x;