fixed turtle output text
This commit is contained in:
		
							parent
							
								
									98b8465436
								
							
						
					
					
						commit
						0c7280a2f5
					
				@ -31,9 +31,9 @@ class Turtle extends CLIAppBase {
 | 
			
		||||
		});
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	private function checkAvailable(): Bool {
 | 
			
		||||
		if (!kernel.turtle.Turtle.isTurtle()){
 | 
			
		||||
			handle.write("No turtle attached");
 | 
			
		||||
	private function checkAvailable():Bool {
 | 
			
		||||
		if (!kernel.turtle.Turtle.isTurtle()) {
 | 
			
		||||
			handle.write("This is not a turtle!");
 | 
			
		||||
			return false;
 | 
			
		||||
		}
 | 
			
		||||
		return true;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user