]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
target_spawn: Retokenize when needed.
authorRudolf Polzer <divverent@xonotic.org>
Wed, 25 Feb 2015 14:06:28 +0000 (15:06 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 25 Feb 2015 14:06:28 +0000 (15:06 +0100)
qcsrc/server/target_spawn.qc

index 28145a2934669877af6e0b0ac054afcb952bd457..b4b9b1830509f846efa7aa64f3d701600a07974b 100644 (file)
@@ -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
                {