X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ffunc%2Fbutton.qc;h=0e2252130c381701fa2277947166093e7915f065;hb=26e4227521bef3540881c326dd68b546bef62bcd;hp=ab1cff538ef2e1bbbd6c020208578ce326ae7a03;hpb=a8cc9eb71b0d0e44e9a968a9cf5554f6226cc838;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/func/button.qc b/qcsrc/common/triggers/func/button.qc index ab1cff538..0e2252130 100644 --- a/qcsrc/common/triggers/func/button.qc +++ b/qcsrc/common/triggers/func/button.qc @@ -114,7 +114,7 @@ When a button is touched, it moves some distance in the direction of it's angle, */ spawnfunc(func_button) { - SetMovedir (); + SetMovedir(self); if (!InitMovingBrushTrigger()) return;