Localizing g_SkyPaint to get data (#1879)
* Localizing g_SkyPaint to retrieve data
There is no need to access global variables every time to get data. And if it is necessary, something is wrong.
* Update sky_paint.lua
Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>