mirror of
				https://github.com/mt-mods/homedecor_modpack.git
				synced 2025-11-01 00:25:35 +01:00 
			
		
		
		
	Quick patch to fix texture errors.
Reportedly, the color would be nil in some rare case.
This commit is contained in:
		| @@ -341,6 +341,7 @@ end | ||||
| local math_max = math.max | ||||
|  | ||||
| local function fill_line(x, y, w, c) | ||||
| 	c = c or "0" | ||||
| 	local tex = { } | ||||
| 	for xx = 0, math.max(0, w-16), 16 do | ||||
| 		table.insert(tex, (":%d,%d=slc_%s.png"):format(x + xx, y, c)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user