creep-tasks
creep-tasks copied to clipboard
Need to update Screep-tasks.js in Example folder to 1.3 (or latest version)
Description of issue:
creep-tasks/examples/JavaScript/creep-tasks.js is still 1.0.0 rather than the latest version. This caused an exception because Task.chain is missing from 1.0.0
Steps to reproduce:
run the Example code as is and wait for it to create a Patroller
Error message:
// Console output:
at Object.newTask (role.patroller:11:28)
at Object.module.exports.loop (main:40:27)
at __mainLoop:1:52
at __mainLoop:2:3
at Object.exports.evalCode (<isolated-vm>:15343:76)
at Object.exports.run (<isolated-vm>:20768:24)