From 7c19cc7613de325a0e43236ee4e202fd6c9f7a7a Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 6 Sep 2017 17:24:40 +0200 Subject: [PATCH] Fix bots waiting for a teamed item to spawn again once they got it (e.g. megas and powerups of mental-gap-beta4) --- qcsrc/common/t_items.qc | 1 + 1 file changed, 1 insertion(+) 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); } }); -- 2.39.2