]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Don't apply status effects ending the moment they are applied. It fixes spawnshield...
authorterencehill <piuntn@gmail.com>
Sun, 1 Sep 2024 12:07:16 +0000 (14:07 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 1 Sep 2024 12:07:16 +0000 (14:07 +0200)
commitc8beae0cb6c02aebf419d1779d9539d3a0616172
tree84f0d358abb50912d4372add4e106e34a83ac67c
parent86ade9052e35d2cfdfb35c7d3e8e6ba5a072aa05
Don't apply status effects ending the moment they are applied. It fixes spawnshield applied for a moment even if g_spawnshieldtime is 0

This change required a refactoring of the give command code, which now no longer needs changing internal fields of the status effects to update them
qcsrc/common/mutators/mutator/status_effects/status_effects.qc
qcsrc/server/items/items.qc