Team Spartan Cookies & Milk Forums
Color.fromHSV() nil issue - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: Color.fromHSV() nil issue (/thread-3481.html)



Color.fromHSV() nil issue - The17thDoctor - 25-10-2020

I noticed that Color.fromHSV() was not giving a proper SF error when any of its arguements are nil.

addons/starfall/lua/starfall/libraries/libs_sh/builtins.lua:552: attempt to perform arithmetic on local 'H' (a string value)



RE: Color.fromHSV() nil issue - Person8880 - 26-10-2020

This should be fixed now.


RE: Color.fromHSV() nil issue - The17thDoctor - 26-10-2020

Thanks for both fixes