]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Opps, forgot that status part
authorLegendaryGuard <rootuser999@gmail.com>
Mon, 29 Nov 2021 23:58:20 +0000 (00:58 +0100)
committerLegendaryGuard <rootuser999@gmail.com>
Mon, 29 Nov 2021 23:58:20 +0000 (00:58 +0100)
qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc

index 4f954d1dd452e33f28d8dd9a43e3cec9572a7c94..2ab7bac54b417b30ffb15400e54319fa51b7e3e0 100644 (file)
@@ -679,6 +679,7 @@ MUTATOR_HOOKFUNCTION(mh, PlayerSpawn)
        if(autocvar_g_mh_player_waypoints == 2){
                if(player.team == Team_IndexToTeam(1))
                {
+                       player.mh_status = MH_STATUS_HUNTER;
                        WaypointSprite_AttachCarrier(WP_Null, player, RADARICON_FLAGCARRIER);
                        //player.waypointsprite_attachedforcarrier.waypointsprite_visible_for_player = mh_waypointsprite_visible_for_player;
                        WaypointSprite_UpdateRule(player.waypointsprite_attachedforcarrier, 0, SPRITERULE_DEFAULT);