mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:18:52 +02:00
Fix this references in module run function.
This commit is contained in:
parent
e1cbb187cd
commit
1751864042
1 changed files with 2 additions and 2 deletions
|
@ -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, [], []);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue