mirror of
				https://fem.mint.lgbt/m/Rhythmblock.git
				synced 2024-08-14 20:27:11 +00:00 
			
		
		
		
	added corresponding ends to functions and ifs
This commit is contained in:
		
							parent
							
								
									bc4c7aaefe
								
							
						
					
					
						commit
						9fa8b5946d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@ local backgroundColor = colors.black
 | 
			
		|||
 | 
			
		||||
function playDisk()
 | 
			
		||||
	disk.playAudio()
 | 
			
		||||
		
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
if disk.isPresent() and disk.hasAudio() then
 | 
			
		||||
	playDisk()
 | 
			
		||||
| 
						 | 
				
			
			@ -12,4 +12,5 @@ elseif disk.isPresent() then
 | 
			
		|||
	print "Not a music disc"
 | 
			
		||||
else
 | 
			
		||||
	print "No disc"
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue