diff --git a/README.md b/README.md index 483b781..f489779 100644 --- a/README.md +++ b/README.md @@ -67,8 +67,6 @@ simple_models_slope_1x1x1: #### Tables -`smodel` is an alias of `simple_models`. - There are some tables for accessing pre-defined attributes: ``` diff --git a/init.lua b/init.lua index e0e878f..aa9c7fb 100644 --- a/init.lua +++ b/init.lua @@ -1,11 +1,6 @@ simple_models = {} -if not core.global_exists("smodel") then - smodel = simple_models -end - - local modpath = core.get_modpath(core.get_current_modname()) local scripts = { diff --git a/samples.lua b/samples.lua index 3e5a8fe..ec37fff 100644 --- a/samples.lua +++ b/samples.lua @@ -1,4 +1,7 @@ +local smodel = simple_models + + -- cubes core.register_node("simple_models:node_tall", {