summaryrefslogtreecommitdiff
path: root/util_execute_cycle.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util_execute_cycle.lua')
-rw-r--r--util_execute_cycle.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/util_execute_cycle.lua b/util_execute_cycle.lua
index fdb74b8..8972475 100644
--- a/util_execute_cycle.lua
+++ b/util_execute_cycle.lua
@@ -248,6 +248,7 @@ digtron.execute_dig_cycle = function(pos, clicker)
for _, itemname in pairs(items_dropped) do
digtron.place_in_inventory(itemname, layout.inventories, oldpos)
end
+ digtron.award_item_dug(items_dropped, clicker:get_player_name()) -- Achievements mod hook
local building_fuel_cost = 0
local strange_failure = false
@@ -458,7 +459,8 @@ digtron.execute_downward_dig_cycle = function(pos, clicker)
for _, itemname in pairs(items_dropped) do
digtron.place_in_inventory(itemname, layout.inventories, oldpos)
end
-
+ digtron.award_item_dug(items_dropped, clicker:get_player_name()) -- Achievements mod hook
+
local status_text = ""
-- acutally burn the fuel needed