]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/item_key.qc
Introduce touch accessors
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / item_key.qc
index c129127c3ce05e262c1dd01fb21d1b252fb5a637..ca4d8cf0895e692d86658c58468cfc87b3ff05c5 100644 (file)
@@ -122,7 +122,7 @@ void spawn_item_key(entity this)
                WITHSELF(this, droptofloor());
        }
 
-       this.touch = item_key_touch;
+       settouch(this, item_key_touch);
 };