Fix incorrect call to player_monoids

This commit is contained in:
Till Affeldt 2023-04-02 12:41:26 +02:00
parent 5448e04d85
commit c23277284a

View File

@ -82,7 +82,7 @@ local function set_skybox(playername, sky)
} }
if mod_lighting_monoid then if mod_lighting_monoid then
lighting_monoid:add_change(player, lighting, "climate_api:merged_lighting") 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 elseif player.set_lighting then
player:set_lighting(lighting) player:set_lighting(lighting)
end end