Skip to content

Commit ad71e24

Browse files
committed
Fix language dropdown not rendering Chinese text properly
Hacky workaround :P
1 parent 3527e34 commit ad71e24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/draw_text_dynamic/draw_text_dynamic.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function draw_text_dynamic(x, y, string){
1+
function draw_text_dynamic(x, y, string, force = false){
22
// draw_text_dynamic()
33

44
// Skip drawing dynamic text when using English

scripts/menu_draw/menu_draw.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function menu_draw() {
105105
//}
106106
//}
107107
draw_set_alpha(1 - 0.5 * item_inactive[m, i])
108-
draw_text_dynamic(dx + 36, dy + iy, item_str[m, i])
108+
draw_text_dynamic(dx + 36, dy + iy, item_str[m, i], obj_controller.menu_shown == "language")
109109
if (item_shortcut[m, i] != "") {
110110
draw_set_halign(fa_right)
111111
draw_text_dynamic(dx + menu_wid[m] - 20, dy + iy, item_shortcut[m, i])

0 commit comments

Comments
 (0)