peilaus alkaen
				https://github.com/mt-mods/homedecor_modpack.git
				synced 2025-10-31 19:35:32 +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 math_max = math.max | ||||||
|  |  | ||||||
| local function fill_line(x, y, w, c) | local function fill_line(x, y, w, c) | ||||||
|  | 	c = c or "0" | ||||||
| 	local tex = { } | 	local tex = { } | ||||||
| 	for xx = 0, math.max(0, w-16), 16 do | 	for xx = 0, math.max(0, w-16), 16 do | ||||||
| 		table.insert(tex, (":%d,%d=slc_%s.png"):format(x + xx, y, c)) | 		table.insert(tex, (":%d,%d=slc_%s.png"):format(x + xx, y, c)) | ||||||
|   | |||||||
		Viittaa uudesa ongelmassa
	
	Block a user