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) { this.run = function(controllerData, deltaTime) {
// Kill condition: // Kill condition:
if (this.shouldCancel()) { if (_this.shouldCancel()) {
this.disableLasers(); _this.disableLasers();
this.active = false; this.active = false;
return makeRunningValues(false, [], []); return makeRunningValues(false, [], []);
} }