mirror of
https://github.com/pyrollo/display_modpack.git
synced 2025-01-10 09:00:17 +01:00
Rename texture file
Now the file name has the correct `<modname>_` prefix.
This commit is contained in:
parent
3f2b6e6ce8
commit
241db4a52e
@ -36,7 +36,7 @@ local function get_glyph(codepoint)
|
|||||||
end
|
end
|
||||||
local x = codepoint % 256
|
local x = codepoint % 256
|
||||||
local y = math.floor(codepoint / 256)
|
local y = math.floor(codepoint / 256)
|
||||||
return string.format("font_unifont_sheet.png^[sheet:256x256:%d,%d", x, y)
|
return string.format("unifont_sheet.png^[sheet:256x256:%d,%d", x, y)
|
||||||
end
|
end
|
||||||
|
|
||||||
font_api.register_font(
|
font_api.register_font(
|
||||||
|
Before Width: | Height: | Size: 955 KiB After Width: | Height: | Size: 955 KiB |
Loading…
Reference in New Issue
Block a user