Fix a backwards check
authorMario <mario@smbclan.net>
Wed, 18 Jan 2017 04:42:18 +0000 (14:42 +1000)
committerMario <mario@smbclan.net>
Wed, 18 Jan 2017 04:42:18 +0000 (14:42 +1000)
qcsrc/common/mutators/mutator/buffs/sv_buffs.qc

index 4df4240..edd9701 100644 (file)
@@ -343,7 +343,7 @@ void buff_Init(entity this)
 
        entity buff = buff_FirstFromFlags(this.buffs);
 
-       if(!this.buffs || buff_Available(buff))
+       if(!this.buffs || !buff_Available(buff))
                buff_NewType(this, 0);
 
        this.classname = "item_buff";