mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
Removed testing log statements
This commit is contained in:
parent
3120d97cfa
commit
cbfdfa5753
@ -461,7 +461,6 @@ export function Root(props: IProps): React.ReactElement {
|
||||
}
|
||||
|
||||
function onDragEnd(result: any) {
|
||||
console.log(openScripts);
|
||||
// Dropped outside of the list
|
||||
if (!result.destination) {
|
||||
result
|
||||
@ -504,8 +503,6 @@ export function Root(props: IProps): React.ReactElement {
|
||||
savedScriptCode = savedOpenScripts[savedScriptIndex].code;
|
||||
}
|
||||
|
||||
console.log(savedScriptCode)
|
||||
|
||||
let serverScriptIndex = GetServer(closingScript.hostname)?.scripts.findIndex(script => script.filename === closingScript.fileName);
|
||||
if (serverScriptIndex === -1 || savedScriptCode !== GetServer(closingScript.hostname)?.scripts[serverScriptIndex as number].code) {
|
||||
PromptEvent.emit({
|
||||
|
Loading…
Reference in New Issue
Block a user