]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Stop player powerup sounds when respawning
authorMario <mario.mario@y7mail.com>
Fri, 29 May 2020 18:11:29 +0000 (04:11 +1000)
committerMario <mario.mario@y7mail.com>
Fri, 29 May 2020 18:11:29 +0000 (04:11 +1000)
qcsrc/server/client.qc

index ccb7053e4b2e3fc0a8ac92ab520d9f3ab9866449..a898db277a574dc34949ee45b3c8df120fed6183 100644 (file)
@@ -658,6 +658,7 @@ void PutPlayerInServer(entity this)
 
        // Cut off any still running player sounds.
        stopsound(this, CH_PLAYER_SINGLE);
+       stopsound(this, CH_TRIGGER_SINGLE);
 
        this.model = "";
        FixPlayermodel(this);