I am getting an error ‘Uncaught ReferenceError: company is not defined’ when I try to do something like:
e
n.adjustHype(blah blah * company.getRandom());
Could someone help me?
I am getting an error ‘Uncaught ReferenceError: company is not defined’ when I try to do something like:
e
n.adjustHype(blah blah * company.getRandom());
Could someone help me?
Use this instead:
GameManager.company.getRandom()
since company, which is usually used as a parameter in some functions simply points to GameManager.company in most (if not all) cases.
Thanks mate!