mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 13:47:18 +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) {
|
||||
// Kill condition:
|
||||
if (this.shouldCancel()) {
|
||||
this.disableLasers();
|
||||
if (_this.shouldCancel()) {
|
||||
_this.disableLasers();
|
||||
this.active = false;
|
||||
return makeRunningValues(false, [], []);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue