mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
fix sleeve memory bug
This commit is contained in:
@@ -20,9 +20,7 @@ export class Program {
|
||||
}
|
||||
|
||||
htmlID(): string {
|
||||
const name = this.name.endsWith(".exe")
|
||||
? this.name.slice(0, -".exe".length)
|
||||
: this.name;
|
||||
const name = this.name.endsWith(".exe") ? this.name.slice(0, -".exe".length) : this.name;
|
||||
return "create-program-" + name;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user