Fix this references in module run function.

This commit is contained in:
r3tk0n 2019-01-29 16:13:11 -08:00
parent e1cbb187cd
commit 1751864042

View file

@ -756,8 +756,8 @@ Script.include("/~/system/libraries/controllers.js");
this.run = function(controllerData, deltaTime) {
// Kill condition:
if (this.shouldCancel()) {
this.disableLasers();
if (_this.shouldCancel()) {
_this.disableLasers();
this.active = false;
return makeRunningValues(false, [], []);
}