Fix task updates
This commit is contained in:
@ -6,7 +6,7 @@ import { grabContractResources } from '../Page/BuildingPage';
|
||||
@registerAction
|
||||
export class UpdateBuildingTaskResourcesAction extends ActionController {
|
||||
async run(args: Args, task: Task): Promise<any> {
|
||||
const buildingTaskId = args.taskId;
|
||||
const buildingTaskId = args.targetTaskId;
|
||||
if (buildingTaskId === undefined) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user