From: Mario Date: Fri, 10 Feb 2017 04:04:11 +0000 (+1000) Subject: Don't run buff player logic during physics frames X-Git-Tag: xonotic-v0.8.2~234 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=601f1d9c80ea49715018bc6aec314827b007bb2b;p=xonotic%2Fxonotic-data.pk3dir.git Don't run buff player logic during physics frames --- diff --git a/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc b/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc index b63349e86..4643ed201 100644 --- a/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc +++ b/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc @@ -795,7 +795,7 @@ MUTATOR_HOOKFUNCTION(buffs, PlayerPreThink) { entity player = M_ARGV(0, entity); - if(game_stopped || IS_DEAD(player)) return; + if(game_stopped || IS_DEAD(player) || frametime) return; if(player.buffs & BUFF_FLIGHT.m_itemid) {