mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 10:42:51 +02:00
API: Cancel sleeve's current task when calling ns.sleeve.travel() (#2559)
This commit is contained in:
@@ -570,5 +570,10 @@ export const breakingChanges300: VersionBreakingChange = {
|
||||
"RAM cost. Now the hacknet namespace does not incur RAM cost, but each hacknet API incurs a 0.5GB RAM cost.",
|
||||
showWarning: false,
|
||||
},
|
||||
{
|
||||
brokenAPIs: [{ name: "ns.sleeve.travel" }],
|
||||
info: "ns.sleeve.travel() did not cancel the sleeve's current task. It does now.",
|
||||
showWarning: false,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -621,7 +621,7 @@ Error: ${e}`,
|
||||
if (ver < 45) {
|
||||
initDarkwebServer();
|
||||
}
|
||||
if (ver < 46) {
|
||||
if (ver < 47) {
|
||||
showAPIBreaks("3.0.0", breakingChanges300);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user