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: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=7c19cc7613de325a0e43236ee4e202fd6c9f7a7a 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 4fc2e38219..c116b440c4 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); } });