]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/plat.qc
Net: register all types
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / plat.qc
index fc62341a85a3a09b65b158d09d6e4d2fce92cf40..30d3d5681b63e64a000bf11589bcbc56a86e58e3 100644 (file)
@@ -9,7 +9,7 @@ void plat_delayedinit()
 
 float plat_send(entity to, float sf)
 {SELFPARAM();
-       WriteByte(MSG_ENTITY, ENT_CLIENT_PLAT);
+       WriteHeader(MSG_ENTITY, ENT_CLIENT_PLAT);
        WriteByte(MSG_ENTITY, sf);
 
        if(sf & SF_TRIGGER_INIT)