From d97a0d3f8368ce27d3eada5d6227eab402f30b1c Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 25 Feb 2015 15:06:28 +0100 Subject: [PATCH] target_spawn: Retokenize when needed. --- qcsrc/server/target_spawn.qc | 3 +++ 1 file changed, 3 insertions(+) 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 { -- 2.39.2