diff options
Diffstat (limited to 'client/global.gd')
-rw-r--r-- | client/global.gd | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/client/global.gd b/client/global.gd index ce24f85d..93c73e13 100644 --- a/client/global.gd +++ b/client/global.gd @@ -269,7 +269,8 @@ func configure_viewport_aa(vp: Viewport, aa: String) -> void: vp.msaa_3d = Viewport.MSAA_4X vp.screen_space_aa = Viewport.SCREEN_SPACE_AA_DISABLED -static func hand_to_index(h): - match h: - "left": return 0 - "right": return 1 +static func index_to_hand(i): + match i: + 0: return "left" + 1: return "right" + _: return "unknown" |