From: terencehill Date: Wed, 6 Sep 2017 15:24:40 +0000 (+0200) Subject: Fix bots waiting for a teamed item to spawn again once they got it (e.g. megas and... X-Git-Tag: xonotic-v0.8.5~2478 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7c19cc7613de325a0e43236ee4e202fd6c9f7a7a;p=xonotic%2Fxonotic-data.pk3dir.git Fix bots waiting for a teamed item to spawn again once they got it (e.g. megas and powerups of mental-gap-beta4) --- diff --git a/qcsrc/common/t_items.qc b/qcsrc/common/t_items.qc index 4fc2e3821..c116b440c 100644 --- a/qcsrc/common/t_items.qc +++ b/qcsrc/common/t_items.qc @@ -901,6 +901,7 @@ LABEL(pickup) if(it.itemdef) // is a registered item { Item_Show(it, -1); + it.scheduledrespawntime = 0; RandomSelection_AddEnt(it, it.cnt, 0); } });