aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alv-lib/_osc.moon4
1 files changed, 3 insertions, 1 deletions
diff --git a/alv-lib/_osc.moon b/alv-lib/_osc.moon
index ba78629..9c556d5 100644
--- a/alv-lib/_osc.moon
+++ b/alv-lib/_osc.moon
@@ -22,8 +22,10 @@ add_item = (message, type, val, use_arrays=false) ->
ts = switch type
when T.num then 'f'
when T.str, T.sym then 's'
- when T.bool, T.bang
+ when T.bool
if val then 'T' else 'F'
+ when T.bang
+ 'I'
else
error "unknown primitive type"
message\add ts, val