Fix tons of typos

This commit is contained in:
Olivier Gagnon
2022-10-09 01:25:31 -04:00
parent f8a3a046de
commit f6f023eeb4
110 changed files with 212 additions and 207 deletions
+3 -4
View File
@@ -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 };