Gerenate new seed only once

This commit is contained in:
yuanchuan 2023-02-14 09:43:28 +08:00
parent f415b9c9e0
commit 162b1c7a13
1 changed files with 2 additions and 1 deletions

View File

@ -578,8 +578,9 @@ class Rules {
});
if (is_nil(this.seed)) {
this.seed = coords.seed_value;
} else {
coords.update_random(this.seed);
}
coords.update_random(this.seed);
}
;(tokens || this.tokens).forEach(token => {
switch (token.type) {