From b1af673ea598734f7037cd32ef086af4f1f284d0 Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Thu, 6 Jul 2017 21:18:43 -0700 Subject: [PATCH] [helicopter] Update to Git patch 9ffee1f: https://github.com/AntumMT/mod-helicopter/tree/9ffee1f --- README.md | 2 +- mods/transport/helicopter/init.lua | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ffc4c0f5..08bf9f82 100644 --- a/README.md +++ b/README.md @@ -545,7 +545,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m [patch.gems_encrustable]: https://github.com/AntumMT/mtmod-gems_encrustable/tree/791bff5 [patch.gems_tools]: https://github.com/AntumMT/mtmod-gems_tools/tree/abe21e3 [patch.hbarmor]: https://github.com/AntumMT/mtmod-hbarmor/tree/d1168bb -[patch.helicopter]: https://github.com/AntumMT/mtmod-helicopter/tree/4402412 +[patch.helicopter]: https://github.com/AntumMT/mod-helicopter/tree/9ffee1f [patch.homedecor]: https://github.com/AntumMT/mtmp-homedecor/tree/d0d79dc [patch.hovercraft]: https://github.com/AntumMT/mtmod-hovercraft/tree/73a6223 [patch.hud]: https://github.com/AntumMT/mtmod-hud/tree/6846e20 diff --git a/mods/transport/helicopter/init.lua b/mods/transport/helicopter/init.lua index 2863642a..fc3a8be2 100644 --- a/mods/transport/helicopter/init.lua +++ b/mods/transport/helicopter/init.lua @@ -5,7 +5,11 @@ dofancy = false -- Boilerplate to support localized strings if intllib mod is installed. local S if minetest.global_exists('intllib') then - S = intllib.Getter() + if intllib.make_gettext_pair then + S = intllib.make_gettext_pair() + else + S = intllib.Getter() + end else S = function(s) return s end end