Lower limit to MAX_SAFE_INTEGER

This commit is contained in:
Zoë Hoekstra 2022-09-01 16:33:31 +02:00
parent 55df97d3d5
commit 10a1c2f00d
No known key found for this signature in database
GPG Key ID: F9B7B7D8130F3323

@ -124,7 +124,7 @@ export const CONSTANTS: {
// NeuroFlux Governor Augmentation cost multiplier // NeuroFlux Governor Augmentation cost multiplier
NeuroFluxGovernorLevelMult: 1.14, NeuroFluxGovernorLevelMult: 1.14,
NumNetscriptPorts: Infinity, NumNetscriptPorts: Number.MAX_SAFE_INTEGER,
// Server-related constants // Server-related constants
HomeComputerMaxRam: 1073741824, // 2 ^ 30 HomeComputerMaxRam: 1073741824, // 2 ^ 30