diff options
author | orwell96 <mono96.mml@gmail.com> | 2017-04-29 19:44:43 +0200 |
---|---|---|
committer | orwell96 <mono96.mml@gmail.com> | 2017-04-29 19:44:43 +0200 |
commit | 0c7144bcc49449eba9f6ab8f2c1d8efa72b0307a (patch) | |
tree | eb66e11bc2a6fb1937d85e2006a7f20d39e40e0b /advtrains/advtrains_itrainmap/init.lua | |
parent | 331db7ba5f4e4b308c1f8efa93c2b40c5139766d (diff) | |
parent | f42b01c74bdc7e91d3def03125a0e24e6a3bb0d4 (diff) | |
download | advtrains-0c7144bcc49449eba9f6ab8f2c1d8efa72b0307a.tar.gz advtrains-0c7144bcc49449eba9f6ab8f2c1d8efa72b0307a.tar.bz2 advtrains-0c7144bcc49449eba9f6ab8f2c1d8efa72b0307a.zip |
Merge nocrash branch into master and merging it with the unified functions so that restoring works how it should
Also fix minor bugs and an occasional crash with couples
Diffstat (limited to 'advtrains/advtrains_itrainmap/init.lua')
-rw-r--r-- | advtrains/advtrains_itrainmap/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/advtrains_itrainmap/init.lua b/advtrains/advtrains_itrainmap/init.lua index 85a3709..756f1da 100644 --- a/advtrains/advtrains_itrainmap/init.lua +++ b/advtrains/advtrains_itrainmap/init.lua @@ -136,7 +136,7 @@ function advtrains_itm_mainloop(dtime) end timer=2 end -end) +end minetest.register_on_player_receive_fields(function(player, formname, fields) if formname=="itrainmap" and fields.quit then itm_pdata[player:get_player_name()]=nil |