@hytopia.com/examples 1.0.51 → 1.0.53

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.
@@ -1727,8 +1727,8 @@
1727
1727
  body.mobile .mobile-buttons-container {
1728
1728
  display: block;
1729
1729
  position: fixed;
1730
- bottom: 30px;
1731
- right: 50px;
1730
+ bottom: 60px;
1731
+ right: 80px;
1732
1732
  width: 250px;
1733
1733
  height: 230px;
1734
1734
  user-select: none;
@@ -195,7 +195,7 @@ class BotStubPlayer extends EventRouter {
195
195
  export default class BotPlayerEntity extends GamePlayerEntity {
196
196
  private static readonly _botsByWorld: Map<number, Set<BotPlayerEntity>> = new Map();
197
197
  private static readonly _activeWorlds: Set<number> = new Set();
198
- private static readonly _maxBots = 50; //5 + Math.floor(Math.random() * 4); // 5-8 inclusive
198
+ private static readonly _maxBots = 5 + Math.floor(Math.random() * 4); // 5-8 inclusive
199
199
 
200
200
  public static ensureForWorld(world: World): void {
201
201
  const bots = this._botsByWorld.get(world.id) ?? new Set<BotPlayerEntity>();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hytopia.com/examples",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",