]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/client.qc
Add an option to configure the damage force players take from attacks
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / client.qc
index 3afa06d1279c0df404c6174cb3b415d391ea96cb..f43785bbb2fce697784fb80c1511541d6466fa56 100644 (file)
@@ -604,7 +604,7 @@ void PutPlayerInServer(entity this)
                this.pauseregen_finished += f;
        }
 
-       this.damageforcescale = 2;
+       this.damageforcescale = autocvar_g_player_damageforcescale;
        this.death_time = 0;
        this.respawn_flags = 0;
        this.respawn_time = 0;