diff options
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 |