From 347c1cd48d636bf8aa19a1543f190bc3c8fd72be Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sun, 3 Nov 2019 21:46:49 +0100 Subject: [PATCH] :art: Fix Gain inheritance --- src/lib/modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/modules.c b/src/lib/modules.c index 60a25f60..932c9172 100644 --- a/src/lib/modules.c +++ b/src/lib/modules.c @@ -41,7 +41,7 @@ static MFUN(gain_set_gain) { } static GWION_IMPORT(gain) { - GWI_OB(gwi_class_ini(gwi, "Gain", NULL)) + GWI_OB(gwi_class_ini(gwi, "Gain", "UGen")) gwi_class_xtor(gwi, gain_ctor, basic_dtor); gwi_func_ini(gwi, "float", "gain"); GWI_BB(gwi_func_end(gwi, gain_get_gain, ae_flag_none)) -- 2.43.0