mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
Fixed an issue where the gang equipment screen would freeze the game if a script installed augmentations while it is open.
This commit is contained in:
@@ -246,5 +246,7 @@ export let CONSTANTS: IMap<any> = {
|
||||
Misc.
|
||||
* Fixed an issue where SF3 was listed as infinitly repeatable and SF12 as
|
||||
having a limit of 3.
|
||||
* Fixed an issue where the gang equipment screen would freeze the game if a
|
||||
script installed augmentations while it is open.
|
||||
`
|
||||
}
|
||||
|
||||
@@ -1942,6 +1942,8 @@ Gang.prototype.setGangMemberTaskDescription = function(memberObj, taskName) {
|
||||
Gang.prototype.clearUI = function() {
|
||||
if (UIElems.gangContainer instanceof Element) { removeElement(UIElems.gangContainer); }
|
||||
|
||||
if (UIElems.gangMemberUpgradeBox instanceof Element) { removeElement(UIElems.gangMemberUpgradeBox); }
|
||||
|
||||
for (const prop in UIElems) {
|
||||
UIElems[prop] = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user