No static_save for discouple entities
parent
f8c00bcba3
commit
06216b0ca1
|
@ -20,6 +20,7 @@ minetest.register_entity("advtrains:discouple", {
|
||||||
initial_sprite_basepos = {x=0, y=0},
|
initial_sprite_basepos = {x=0, y=0},
|
||||||
|
|
||||||
is_discouple=true,
|
is_discouple=true,
|
||||||
|
static_save = false,
|
||||||
on_activate=function(self, staticdata)
|
on_activate=function(self, staticdata)
|
||||||
if staticdata=="DISCOUPLE" then
|
if staticdata=="DISCOUPLE" then
|
||||||
--couple entities have no right to exist further...
|
--couple entities have no right to exist further...
|
||||||
|
@ -76,6 +77,7 @@ minetest.register_entity("advtrains:couple", {
|
||||||
initial_sprite_basepos = {x=0, y=0},
|
initial_sprite_basepos = {x=0, y=0},
|
||||||
|
|
||||||
is_couple=true,
|
is_couple=true,
|
||||||
|
static_save = false,
|
||||||
on_activate=function(self, staticdata)
|
on_activate=function(self, staticdata)
|
||||||
return advtrains.pcall(function()
|
return advtrains.pcall(function()
|
||||||
if staticdata=="COUPLE" then
|
if staticdata=="COUPLE" then
|
||||||
|
@ -218,6 +220,7 @@ minetest.register_entity("advtrains:lockmarker", {
|
||||||
initial_sprite_basepos = {x=0, y=0},
|
initial_sprite_basepos = {x=0, y=0},
|
||||||
|
|
||||||
is_lockmarker=true,
|
is_lockmarker=true,
|
||||||
|
static_save = false,
|
||||||
on_activate=function(self, staticdata)
|
on_activate=function(self, staticdata)
|
||||||
return advtrains.pcall(function()
|
return advtrains.pcall(function()
|
||||||
if staticdata=="COUPLE" then
|
if staticdata=="COUPLE" then
|
||||||
|
|
Loading…
Reference in New Issue