mirror of
https://github.com/t-affeldt/climate_api.git
synced 2024-12-22 08:50:37 +01:00
Fix incorrect call to player_monoids
This commit is contained in:
parent
5448e04d85
commit
c23277284a
@ -82,7 +82,7 @@ local function set_skybox(playername, sky)
|
||||
}
|
||||
if mod_lighting_monoid then
|
||||
lighting_monoid:add_change(player, lighting, "climate_api:merged_lighting")
|
||||
lighting_monoid.del_change(player, "lighting_monoid:base_shadow")
|
||||
lighting_monoid:del_change(player, "lighting_monoid:base_shadow")
|
||||
elseif player.set_lighting then
|
||||
player:set_lighting(lighting)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user