@uzuhq/code-cli 0.5.9 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +1 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -847,7 +847,7 @@ var GameRoom = class _GameRoom {
847
847
  maybeStartGame() {
848
848
  if (this.gameState !== null) return;
849
849
  if (this.players.length === 0) return;
850
- this.seed = Date.now() & 4294967295;
850
+ this.seed = Math.floor(Math.random() * 4294967295);
851
851
  this.random = new SeededRandomImpl(this.seed);
852
852
  this.gameState = this.logic.setup(this.setupArgs(this.random));
853
853
  this.stateInitialized = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uzuhq/code-cli",
3
- "version": "0.5.9",
3
+ "version": "0.5.10",
4
4
  "description": "UZU ゲーム開発 CLI - ビルド・パブリッシュ・プロジェクト作成ツール",
5
5
  "type": "module",
6
6
  "bin": {