mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 03:25:44 +02:00
Fix tons of typos
This commit is contained in:
@@ -49,7 +49,7 @@ export abstract class BaseServer {
|
||||
// IP Address. Must be unique
|
||||
ip = "";
|
||||
|
||||
// Flag indicating whether player is curently connected to this server
|
||||
// Flag indicating whether player is currently connected to this server
|
||||
isConnectedTo = false;
|
||||
|
||||
// RAM (GB) available on this server
|
||||
@@ -90,7 +90,7 @@ export abstract class BaseServer {
|
||||
// Text files on this server
|
||||
textFiles: TextFile[] = [];
|
||||
|
||||
// Flag indicating wehther this is a purchased server
|
||||
// Flag indicating whether this is a purchased server
|
||||
purchasedByPlayer = false;
|
||||
|
||||
constructor(params: IConstructorParams = { hostname: "", ip: createRandomIp() }) {
|
||||
@@ -232,7 +232,6 @@ export abstract class BaseServer {
|
||||
this.maxRam = ram;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
updateRamUsed(ram: number): void {
|
||||
this.ramUsed = ram;
|
||||
}
|
||||
@@ -252,7 +251,7 @@ export abstract class BaseServer {
|
||||
|
||||
/**
|
||||
* Write to a script file
|
||||
* Overwrites existing files. Creates new files if the script does not eixst
|
||||
* Overwrites existing files. Creates new files if the script does not exist.
|
||||
*/
|
||||
writeToScriptFile(fn: string, code: string): writeResult {
|
||||
const ret = { success: false, overwritten: false };
|
||||
|
||||
Reference in New Issue
Block a user