diff options
author | orwell96 <orwell@bleipb.de> | 2018-10-30 15:42:30 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2018-11-03 21:37:42 +0100 |
commit | d761c54d3d9e6252e2088a78cd95702d14e3bb80 (patch) | |
tree | 41a1e92078073e977018f59e9c3bda17d8ab4377 | |
parent | 4fb0956d56ab50241b39e140665150dba9414398 (diff) | |
download | advtrains-d761c54d3d9e6252e2088a78cd95702d14e3bb80.tar.gz advtrains-d761c54d3d9e6252e2088a78cd95702d14e3bb80.tar.bz2 advtrains-d761c54d3d9e6252e2088a78cd95702d14e3bb80.zip |
No static_save for discouple entities
-rw-r--r-- | advtrains/couple.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains/couple.lua b/advtrains/couple.lua index 7e99571..bcf8848 100644 --- a/advtrains/couple.lua +++ b/advtrains/couple.lua @@ -20,6 +20,7 @@ minetest.register_entity("advtrains:discouple", { initial_sprite_basepos = {x=0, y=0}, is_discouple=true, + static_save = false, on_activate=function(self, staticdata) if staticdata=="DISCOUPLE" then --couple entities have no right to exist further... @@ -79,6 +80,7 @@ minetest.register_entity("advtrains:couple", { initial_sprite_basepos = {x=0, y=0}, is_couple=true, + static_save = false, on_activate=function(self, staticdata) return advtrains.pcall(function() if staticdata=="COUPLE" then @@ -178,6 +180,7 @@ minetest.register_entity("advtrains:lockmarker", { initial_sprite_basepos = {x=0, y=0}, is_lockmarker=true, + static_save = false, on_activate=function(self, staticdata) return advtrains.pcall(function() if staticdata=="COUPLE" then |