Add ScriptClr convesion for GUITextBlock.ClickableArea.OnClickDelegate (#254)

This commit is contained in:
Ydrec
2025-05-31 22:43:26 +03:00
committed by GitHub
parent 90a1453755
commit 8af2267c53

View File

@@ -122,6 +122,8 @@ namespace Barotrauma
RegisterHandler(f => (GUITickBox.OnSelectedHandler)(
(a1) => Call(f, a1)?.CastToBool() ?? default));
RegisterHandler(f => (GUITextBlock.ClickableArea.OnClickDelegate)(
(a1, a2) => Call(f, a1, a2)));
}
#endif