diff options
Diffstat (limited to 'advtrains_line_automation/station_editor.lua')
-rw-r--r-- | advtrains_line_automation/station_editor.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains_line_automation/station_editor.lua b/advtrains_line_automation/station_editor.lua index 37afa92..ceeeffe 100644 --- a/advtrains_line_automation/station_editor.lua +++ b/advtrains_line_automation/station_editor.lua @@ -1,6 +1,6 @@ local def local F = minetest.formspec_escape -local ifthenelse = ch_core.ifthenelse +local ifthenelse = function(cond, a, b) if cond then return a else return b end end local rwt = assert(advtrains.lines.rwt) local function load_stations() @@ -468,7 +468,7 @@ advtrains.lines.open_station_editor = show_formspec def = { -- params = "", description = "Otevře editor dopraven (stanic, zastávek a odboček)", - privs = {ch_registered_player = true}, + privs = {}, func = function(player_name, param) show_formspec(minetest.get_player_by_name(player_name)) end, } core.register_chatcommand("zastavky", def) |