Fix misc glitches

This commit is contained in:
Casper Warden
2023-11-28 18:24:35 +00:00
parent deb1ddc05e
commit 09db20682e
6 changed files with 7 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ import { BatchQueue } from './BatchQueue';
export class ObjectResolver
{
private resolveQueue = new BatchQueue<GameObject>(256, this.resolveInternal.bind(this));
private getCostsQueue = new BatchQueue<GameObject>(256, this.getCostsInternal.bind(this));
private getCostsQueue = new BatchQueue<GameObject>(64, this.getCostsInternal.bind(this));
constructor(private region?: Region)
{

View File

@@ -21,7 +21,7 @@ export class LLSDNotationParser
{ regex: /^]/, type: LLSDTokenType.ARRAY_END },
{ regex: /^(?:true|false|TRUE|FALSE|1|0|T|F|t|f)/, type: LLSDTokenType.BOOLEAN },
{ regex: /^i(-?[0-9]+)/, type: LLSDTokenType.INTEGER },
{ regex: /^r(-?[0-9.]+(?:e-?[0-9]+)?)/, type: LLSDTokenType.REAL },
{ regex: /^r(-?[0-9.]+(?:[eE]-?[0-9]+)?)/, type: LLSDTokenType.REAL },
{ regex: /^u([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/, type: LLSDTokenType.UUID },
{ regex: /^'([^'\\]*(?:\\.[^'\\\n]*)*)'/, type: LLSDTokenType.STRING_FIXED_SINGLE },
{ regex: /^"([^"\\]*(?:\\.[^"\\\n]*)*)"/, type: LLSDTokenType.STRING_FIXED_DOUBLE },