From: Mario Date: Mon, 12 Oct 2015 20:30:34 +0000 (+1000) Subject: Trigger targeted entities when key is picked up, mimics original Quake 1 behaviour X-Git-Tag: xonotic-v0.8.2~1835 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=67b3098c964ccee3a3d15b29a4300c14476ae43e;p=xonotic%2Fxonotic-data.pk3dir.git Trigger targeted entities when key is picked up, mimics original Quake 1 behaviour --- diff --git a/qcsrc/server/item_key.qc b/qcsrc/server/item_key.qc index 8df6e3b46..4b83a6bdb 100644 --- a/qcsrc/server/item_key.qc +++ b/qcsrc/server/item_key.qc @@ -81,6 +81,9 @@ void item_key_touch() play2(other, self.noise); centerprint(other, self.message); + + activator = other; + SUB_UseTargets(); }; /**