diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -481,6 +481,11 @@ minetest.register_on_shutdown(function() end end) +-- Automatically dismount corpses +minetest.register_on_dieplayer(function(player) + attached[player:get_player_name()] = nil +end) + -- Register the entity minetest.register_entity("bike:bike", bike) |