diff options
author | orwell <orwell@bleipb.de> | 2024-11-09 21:55:52 +0100 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2024-11-09 21:55:52 +0100 |
commit | 96f4ac7f6c2ff7fae56102640e9e63305ca64b16 (patch) | |
tree | b281c20dc8c2b55875a5c561d8c4dcadb836d53b /advtrains/init.lua | |
parent | 35167fe928e61ecf35c633014972e36c921a1b78 (diff) | |
parent | 943505a797e628ef8e447a8fdb362f777b325dec (diff) | |
download | advtrains-96f4ac7f6c2ff7fae56102640e9e63305ca64b16.tar.gz advtrains-96f4ac7f6c2ff7fae56102640e9e63305ca64b16.tar.bz2 advtrains-96f4ac7f6c2ff7fae56102640e9e63305ca64b16.zip |
Merge remote-tracking branch 'origin/l10n'
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r-- | advtrains/init.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua index 06e456f..cb2214d 100644 --- a/advtrains/init.lua +++ b/advtrains/init.lua @@ -22,9 +22,6 @@ Copyright (C) 2016-2020 Moritz Blei (orwell96) and contributors local lot = os.clock() minetest.log("action", "[advtrains] Loading...") --- There is no need to support 0.4.x anymore given that the compatitability with it is already broken by 1bb1d825f46af3562554c12fba35a31b9f7973ff -attrans = minetest.get_translator ("advtrains") - --advtrains advtrains = {trains={}, player_to_train_mapping={}} @@ -181,7 +178,7 @@ function assertt(var, typ) end end -dofile(advtrains.modpath.."/helpers.lua"); +dofile(advtrains.modpath.."/helpers.lua") --dofile(advtrains.modpath.."/debugitems.lua"); advtrains.meseconrules = @@ -201,6 +198,10 @@ advtrains.meseconrules = advtrains.fpath=minetest.get_worldpath().."/advtrains" +advtrains.poconvert = dofile(advtrains.modpath.."/poconvert.lua") +advtrains.poconvert.from_flat("advtrains") +attrans = minetest.get_translator("advtrains") + advtrains.speed = dofile(advtrains.modpath.."/speed.lua") advtrains.texture = dofile(advtrains.modpath.."/texture.lua") @@ -234,7 +235,6 @@ end dofile(advtrains.modpath.."/lzb.lua") - --load/save -- backup variables, used if someone should accidentally delete a sub-mod |