From a7df206e59d5027f286aaf1b45e16955deef2c68 Mon Sep 17 00:00:00 2001 From: Maksim Gamarnik Date: Wed, 17 Feb 2016 00:50:51 +0200 Subject: [PATCH] Fix games --- games/default/files/item_drop/init.lua | 2 +- games/default/files/lightcorrect/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/games/default/files/item_drop/init.lua b/games/default/files/item_drop/init.lua index bd17d0f1e..f7763c57f 100644 --- a/games/default/files/item_drop/init.lua +++ b/games/default/files/item_drop/init.lua @@ -182,7 +182,7 @@ end function core.item_eat(hp_change, replace_with_item) return function(itemstack, user, pointed_thing) -- closure local pos = user:getpos() - pos.y = pos.y + item_drop_settings.player_collect_height + pos.y = pos.y + item_drop_settings.player_collect_height+0.5 local itemname = itemstack:get_name() local texture = minetest.registered_items[itemname].inventory_image minetest.add_item(pos, drop) diff --git a/games/default/files/lightcorrect/init.lua b/games/default/files/lightcorrect/init.lua index 99c8df446..8f4a7890c 100644 --- a/games/default/files/lightcorrect/init.lua +++ b/games/default/files/lightcorrect/init.lua @@ -10,7 +10,7 @@ lightcorrect = {} local light = (minetest.get_timeofday()*2) if light < 0.4 then for _,player in ipairs(minetest.get_connected_players()) do - player:override_day_night_ratio((light)+0.25) + player:override_day_night_ratio((light)+0.2) end else for _,player in ipairs(minetest.get_connected_players()) do