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