projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9113df
)
Fix bots waiting for a teamed item to spawn again once they got it (e.g. megas and...
author
terencehill <piuntn@gmail.com>
Wed, 6 Sep 2017 15:24:40 +0000
(17:24 +0200)
committer
terencehill <piuntn@gmail.com>
Wed, 6 Sep 2017 15:24:40 +0000
(17:24 +0200)
qcsrc/common/t_items.qc
patch
|
blob
|
history
diff --git
a/qcsrc/common/t_items.qc
b/qcsrc/common/t_items.qc
index
4fc2e38
..
c116b44
100644
(file)
--- 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);
}
});