Fix use of pens in render_text
If you ever pass in a number to `dc:pen` rather than a pen table, it will assume the old pen's other attributes, such as `bg` and `bold`. To workaround this, we just never pass in a number, and always call `to_pen` aka `dfhack.pen.parse` first.develop
parent
94ae9973cf
commit
61227eeca1
Loading…
Reference in New Issue