Strange. Looks like the problem went away all on its own. Baffling.
KiiLLa
@KiiLLa
2
Posts
541
Profile views
0
Followers
0
Following
Posts made by KiiLLa
-
RE: Unexpected identifier in world, not in sim
-
Unexpected identifier in world, not in sim
Not sure if this is a bug or something I haven't noticed, I'd appreciate if someone could point out the root cause.
In sim, the code executes just fine, but in the world I'm getting this (right after tutorial 5):
role.harvester:2 function run(creep) { ^^^ SyntaxError: Unexpected identifier at main:1:57 at sigintHandlersWrap (vm.js:32:31) at sigintHandlersWrap (vm.js:73:12)
(Can't get a multiline code quote to work, but, basically,
run
is highlighted.)Notably, even if I completely empty role.harvester OR main module and save, it still keeps persisting.