]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/generator.qc
Net: register all types
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / generator.qc
index 2a1c0b2f861ab34b1035e0087880e97d67c5849c..e6c746a751c747da906b3673a9a0ed4ff5256dc2 100644 (file)
@@ -2,7 +2,7 @@
 
 bool generator_send(entity this, entity to, int sf)
 {
-       WriteByte(MSG_ENTITY, ENT_CLIENT_GENERATOR);
+       WriteHeader(MSG_ENTITY, ENT_CLIENT_GENERATOR);
        WriteByte(MSG_ENTITY, sf);
        if(sf & GSF_SETUP)
        {