X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ftrigger%2Fkeylock.qc;h=17313f0aa85de43dda806660633a4055dcf10a73;hb=eeec5ec4584c71acbb89db6eea843b48d6ca4c26;hp=1c2bd70b5d2c0ab9b59843d0bd21bea012742b05;hpb=3a035cb2732af064519135410c5664c2e1b3f501;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/trigger/keylock.qc b/qcsrc/common/triggers/trigger/keylock.qc index 1c2bd70b5..17313f0aa 100644 --- a/qcsrc/common/triggers/trigger/keylock.qc +++ b/qcsrc/common/triggers/trigger/keylock.qc @@ -3,7 +3,6 @@ */ void trigger_keylock_trigger(string s) {SELFPARAM(); - entity stemp = self; entity otemp = other; entity atemp = activator; @@ -12,12 +11,12 @@ void trigger_keylock_trigger(string s) if(t.use) { setself(t); - other = stemp; + other = this; activator = atemp; self.use(); } - setself(stemp); + setself(this); other = otemp; activator = atemp; }