From 9fb25252a6e66d561a79ce3ca740246a72cccf50 Mon Sep 17 00:00:00 2001 From: EvilFactory Date: Sat, 20 Aug 2022 12:03:05 -0300 Subject: [PATCH] added custom converters for GUICustomComponent's delegates --- .../SharedSource/LuaCs/Lua/LuaCustomConverters.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Lua/LuaCustomConverters.cs b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Lua/LuaCustomConverters.cs index 1c79f7282..da62d5785 100644 --- a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Lua/LuaCustomConverters.cs +++ b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Lua/LuaCustomConverters.cs @@ -19,6 +19,7 @@ namespace Barotrauma RegisterAction(); RegisterAction(); RegisterAction(); + RegisterAction(); RegisterAction(); RegisterFunc(); @@ -42,7 +43,8 @@ namespace Barotrauma v => (LuaCsPatchFunc)((self, args) => CallLuaFunction(v.Function, self, args))); #if CLIENT - RegisterAction(); + RegisterAction(); + RegisterAction(); RegisterAction(); {