mirror of
				https://gitlab.com/rubenwardy/awards.git
				synced 2025-11-04 14:45:29 +01:00 
			
		
		
		
	Escape icon text to allow for texture modifier
This commit is contained in:
		
				
					committed by
					
						
						rubenwardy
					
				
			
			
				
	
			
			
			
						parent
						
							1ef4a98247
						
					
				
				
					commit
					c4709de60f
				
			@@ -45,7 +45,7 @@ function awards.get_formspec(name, to, sid)
 | 
			
		||||
			";]"
 | 
			
		||||
 | 
			
		||||
		if sdef and sdef.icon then
 | 
			
		||||
			formspec = formspec .. "image[0.45,0;3.5,3.5;" .. sdef.icon .. "]"  -- adjusted values from 0.6,0;3,3
 | 
			
		||||
			formspec = formspec .. "image[0.45,0;3.5,3.5;" .. minetest.formspec_escape(sdef.icon) .. "]"  -- adjusted values from 0.6,0;3,3
 | 
			
		||||
		end
 | 
			
		||||
 | 
			
		||||
		if sitem.progress then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user