aboutsummaryrefslogtreecommitdiff
path: root/advtrains/couple.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-10-30 15:42:30 +0100
committerorwell96 <orwell@bleipb.de>2018-10-30 15:42:30 +0100
commit06216b0ca189b95a2e8a8a3689562f819988539f (patch)
tree98cad6608259dc9aabde4798a4639b98061f9dce /advtrains/couple.lua
parentf8c00bcba37cfc47d0cac540f7cdf7a186f35df2 (diff)
downloadadvtrains-06216b0ca189b95a2e8a8a3689562f819988539f.tar.gz
advtrains-06216b0ca189b95a2e8a8a3689562f819988539f.tar.bz2
advtrains-06216b0ca189b95a2e8a8a3689562f819988539f.zip
No static_save for discouple entities
Diffstat (limited to 'advtrains/couple.lua')
-rw-r--r--advtrains/couple.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains/couple.lua b/advtrains/couple.lua
index a77731e..e092696 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...
@@ -76,6 +77,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
@@ -218,6 +220,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