]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/vote.qc
Crustify
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / vote.qc
index d7c8298719506139b476140f7f93df4cf1eec717..81d5136f9648949b18e8b7866059ea977eff7a2e 100644 (file)
@@ -27,7 +27,7 @@ bool Nagger_SendEntity(entity this, entity to, float sendflags)
 {
        int nags, i, f, b;
        entity e;
-       WriteByte(MSG_ENTITY, ENT_CLIENT_NAGGER);
+       WriteHeader(MSG_ENTITY, ENT_CLIENT_NAGGER);
 
        // bits:
        //   1 = ready
@@ -345,7 +345,8 @@ void reset_map(float dorespawn)
 {
        SELFPARAM();
 
-       if (time <= game_starttime && round_handler_IsActive()) round_handler_Reset(game_starttime);
+       if (time <= game_starttime && round_handler_IsActive())
+               round_handler_Reset(game_starttime);
 
        MUTATOR_CALLHOOK(reset_map_global);