]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/conveyor.qc
Cleanup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / conveyor.qc
index a8dfafc874299f81758e7671f276d581da325490..f0cc4d8037258955fd5bd86ba1af63077f4adfeb 100644 (file)
@@ -160,8 +160,8 @@ void conveyor_init()
        self.move_time = time;
 }
 
-void ent_conveyor()
-{SELFPARAM();
+NET_HANDLE(ENT_CLIENT_CONVEYOR, bool isnew)
+{
        float sf = ReadByte();
 
        if(sf & 1)
@@ -195,5 +195,7 @@ void ent_conveyor()
 
        if(sf & 2)
                self.state = ReadByte();
+
+       return true;
 }
 #endif