From: Rudolf Polzer Date: Wed, 25 Feb 2015 14:06:28 +0000 (+0100) Subject: target_spawn: Retokenize when needed. X-Git-Tag: xonotic-v0.8.1~109 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d97a0d3f8368ce27d3eada5d6227eab402f30b1c;p=xonotic%2Fxonotic-data.pk3dir.git target_spawn: Retokenize when needed. --- diff --git a/qcsrc/server/target_spawn.qc b/qcsrc/server/target_spawn.qc index 28145a293..b4b9b1830 100644 --- a/qcsrc/server/target_spawn.qc +++ b/qcsrc/server/target_spawn.qc @@ -229,6 +229,9 @@ void target_spawn_edit_entity(entity e, string msg, entity kt, entity t2, entity self = oldself; activator = oldactivator; + + // We called an external function, so we have to re-tokenize msg. + n = tokenize_console(msg); } else {