Fix issue where you can't type the initial command
This commit is contained in:
		
							parent
							
								
									43f4fce5dd
								
							
						
					
					
						commit
						81275ea4e3
					
				@ -30,6 +30,7 @@ Game *game_create(void) {
 | 
				
			|||||||
  Vector2 input_position = { 20, 400 };
 | 
					  Vector2 input_position = { 20, 400 };
 | 
				
			||||||
  Input *input = create_input(input_position);
 | 
					  Input *input = create_input(input_position);
 | 
				
			||||||
  input->log = log;
 | 
					  input->log = log;
 | 
				
			||||||
 | 
					  input->input_length = 0;
 | 
				
			||||||
  log->input = input;
 | 
					  log->input = input;
 | 
				
			||||||
  input->g = g;
 | 
					  input->g = g;
 | 
				
			||||||
  input->command = '>'; // Don't change this
 | 
					  input->command = '>'; // Don't change this
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user