Convert _ to space in player names in rom. (_ shows up as ?)
This commit is contained in:
parent
705266da9b
commit
f1614a4e4c
2
Rom.py
2
Rom.py
|
@ -1328,7 +1328,7 @@ def hud_format_text(text):
|
||||||
output += bytes([0x77 + ord(char) - ord('0'), 0x29])
|
output += bytes([0x77 + ord(char) - ord('0'), 0x29])
|
||||||
elif char == '9':
|
elif char == '9':
|
||||||
output += b'\x4b\x29'
|
output += b'\x4b\x29'
|
||||||
elif char == ' ':
|
elif char == ' ' or char == '_':
|
||||||
output += b'\x7f\x00'
|
output += b'\x7f\x00'
|
||||||
else:
|
else:
|
||||||
output += b'\x2a\x29'
|
output += b'\x2a\x29'
|
||||||
|
|
Loading…
Reference in New Issue