Fix bots waiting for a teamed item to spawn again once they got it (e.g. megas and...
authorterencehill <piuntn@gmail.com>
Wed, 6 Sep 2017 15:24:40 +0000 (17:24 +0200)
committerterencehill <piuntn@gmail.com>
Wed, 6 Sep 2017 15:24:40 +0000 (17:24 +0200)
qcsrc/common/t_items.qc

index 4fc2e38..c116b44 100644 (file)
@@ -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);
                                }
                        });