From 1635c93822407912df156d7511df8cc923859095 Mon Sep 17 00:00:00 2001 From: avevad Date: Mon, 22 Jun 2020 19:52:31 +0500 Subject: [PATCH] Fixed The-Powder-Toy/The-Powder-Toy#721 --- src/lua/TPTScriptInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/TPTScriptInterface.cpp b/src/lua/TPTScriptInterface.cpp index 67e243f56..5d3c0ba72 100644 --- a/src/lua/TPTScriptInterface.cpp +++ b/src/lua/TPTScriptInterface.cpp @@ -224,7 +224,7 @@ String TPTScriptInterface::FormatCommand(String command) String outputData; //Split command into words, put them on the stack - for(String word : command.PartitionBy(' ')) + for(String word : command.PartitionBy(' ', true)) words.push_back(word); while(!words.empty()) {