Changed to new get_sky method
This commit is contained in:
parent
3922c5bdca
commit
866711a4aa
|
@ -182,8 +182,9 @@ lightning.register_on_strike(function(pos, pos2, objects)
|
||||||
for i = 1, #playerlist do
|
for i = 1, #playerlist do
|
||||||
local player = playerlist[i]
|
local player = playerlist[i]
|
||||||
local sky = {}
|
local sky = {}
|
||||||
|
local sky_table = player:get_sky(true)
|
||||||
|
|
||||||
sky.bgcolor, sky.type, sky.textures = player:get_sky()
|
sky.bgcolor, sky.type, sky.textures = sky_table.base_color, sky_table.type, sky_table.textures
|
||||||
|
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
if ps[name] == nil then
|
if ps[name] == nil then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user