]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix bug introduced by fe3d08fb79
authorotta8634 <k9wolf@pm.me>
Thu, 9 Jan 2025 07:18:51 +0000 (15:18 +0800)
committerotta8634 <k9wolf@pm.me>
Thu, 9 Jan 2025 07:18:51 +0000 (15:18 +0800)
commitbb14e036890e5545f356304914373311bbefc7ea
tree7b353886c42de1db1be38707ed241e1f4ea77568
parent17c0ef467dee0893a661fafa92194158d036a9fe
Fix bug introduced by fe3d08fb79

One example bug introduced is team-based gamemodes being no longer team-based, and some scoreboard funkiness found by @terencehill.
Gametypes also use mutators, seems that this commit (specifically changing .m_name -> .mutatorname) didn't properly account for that somehow.
I couldn't find the .m_name access that needed to be changed, so instead I reverted that change and added .message to Mutator.
In future for consistency's sake .m_name should be renamed to .mutatorname in Mutator, and .message to .m_name in Gametype and Mutator.
18 files changed:
qcsrc/common/mapinfo.qh
qcsrc/common/mutators/base.qh
qcsrc/common/mutators/mutator/bloodloss/bloodloss.qh
qcsrc/common/mutators/mutator/cloaked/cloaked.qh
qcsrc/common/mutators/mutator/dodging/dodging.qh
qcsrc/common/mutators/mutator/hook/hook.qh
qcsrc/common/mutators/mutator/instagib/instagib.qh
qcsrc/common/mutators/mutator/nades/nades.qh
qcsrc/common/mutators/mutator/new_toys/new_toys.qh
qcsrc/common/mutators/mutator/nix/nix.qh
qcsrc/common/mutators/mutator/offhand_blaster/offhand_blaster.qh
qcsrc/common/mutators/mutator/overkill/overkill.qh
qcsrc/common/mutators/mutator/pinata/pinata.qh
qcsrc/common/mutators/mutator/rocketflying/rocketflying.qh
qcsrc/common/mutators/mutator/touchexplode/touchexplode.qh
qcsrc/common/mutators/mutator/vampire/vampire.qh
qcsrc/common/mutators/mutator/walljump/walljump.qh
qcsrc/lib/color.qh