summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua21
1 files changed, 11 insertions, 10 deletions
diff --git a/init.lua b/init.lua
index 4e90069..0e96327 100644
--- a/init.lua
+++ b/init.lua
@@ -17,13 +17,14 @@ dofile(minetest.get_modpath("awards").."/triggers.lua")
dofile(minetest.get_modpath("awards").."/awards.lua")
-- Backwards compatibility
-awards.give_achievement = awards.unlock
-awards.getFormspec = awards.get_formspec
-awards.showto = awards.show_to
-awards.register_onDig = awards.register_on_dig
-awards.register_onPlace = awards.register_on_place
-awards.register_onDeath = awards.register_on_death
-awards.register_onChat = awards.register_on_chat
-awards.register_onJoin = awards.register_on_join
-awards.register_onCraft = awards.register_on_craft
-awards.def = awards.registered_awards
+awards.give_achievement = awards.unlock
+awards.getFormspec = awards.get_formspec
+awards.showto = awards.show_to
+awards.register_onDig = awards.register_on_dig
+awards.register_onPlace = awards.register_on_place
+awards.register_onDeath = awards.register_on_death
+awards.register_onChat = awards.register_on_chat
+awards.register_onJoin = awards.register_on_join
+awards.register_onCraft = awards.register_on_craft
+awards.def = awards.registered_awards
+awards.register_achievement = awards.register_award