mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 00:32:51 +02:00
fix bug with getTaskTask release 50.1
This commit is contained in:
@@ -490,9 +490,9 @@ function NetscriptFunctions(workerScript) {
|
||||
}
|
||||
|
||||
const getGangTask = function(func, name) {
|
||||
const task = GangMemberTasks[taskName];
|
||||
const task = GangMemberTasks[name];
|
||||
if (!task) {
|
||||
throw makeRuntimeErrorMsg(`gang.${func}`, `Invalid task: '${taskName}'`);
|
||||
throw makeRuntimeErrorMsg(`gang.${func}`, `Invalid task: '${name}'`);
|
||||
}
|
||||
|
||||
return task;
|
||||
|
||||
Reference in New Issue
Block a user