Skip to content

Commit

Permalink
Merge pull request #32 from TML233/bug/console_escape_strings
Browse files Browse the repository at this point in the history
Fix escape strings in console
  • Loading branch information
TML233 committed Apr 20, 2019
2 parents 35ff759 + d0c1939 commit 02a34eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/Console_ParseCmd/Console_ParseCmd.gml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
if(GMU_CONSOLE_ENABLED){
var input=Console_GetInput();
var list_cmd=global._gmu_console_list_cmd;
var map_macro=global._gmu_console_map_macro;

ds_list_clear(list_cmd);

Expand All @@ -10,7 +9,7 @@ if(GMU_CONSOLE_ENABLED){
var cmd="";
var str_mode=false;
var str_input=false;
repeat(length+1){
while(proc<=length+1){
var cmd_char=string_char_at(input,proc);
if((cmd_char==" "&&!str_input)||proc>length){
if(!str_mode){
Expand Down

0 comments on commit 02a34eb

Please sign in to comment.