ScaleformUI
ScaleformUI copied to clipboard
tweak(menu colors): typecheck using assert
@manups4e Can you check this ? :eyes:
instead of checking if it's a table.. you can check by doing
assert(color() == "SColor", "Color must be SColor type")
because checking if it's a table means that i could send any table.. too generic.. check here https://github.com/manups4e/ScaleformUI/blob/master/ScaleformUI_Lua/src/Elements/SColor.lua on line 3
if you correct this i will merge <3
should be good