diff options
author | orwell <orwell@bleipb.de> | 2024-02-06 23:06:38 +0100 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2024-02-06 23:06:38 +0100 |
commit | 2ea4a8cff1d8e335fda472e4c7988424ca522610 (patch) | |
tree | ebb14ce0f330e0f569b0740c707617cabae817d6 /advtrains_luaautomation/environment.lua | |
parent | 9fac1db45f79e2312415500b6ec9d22a8edb0cdd (diff) | |
download | advtrains-2ea4a8cff1d8e335fda472e4c7988424ca522610.tar.gz advtrains-2ea4a8cff1d8e335fda472e4c7988424ca522610.tar.bz2 advtrains-2ea4a8cff1d8e335fda472e4c7988424ca522610.zip |
Add chatcommand and luaatc function to get global_slowdown
Diffstat (limited to 'advtrains_luaautomation/environment.lua')
-rw-r--r-- | advtrains_luaautomation/environment.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains_luaautomation/environment.lua b/advtrains_luaautomation/environment.lua index d85bedc..9fcba1d 100644 --- a/advtrains_luaautomation/environment.lua +++ b/advtrains_luaautomation/environment.lua @@ -164,6 +164,9 @@ local static_env = { return false end end, + get_slowdown = function() + return advtrains.global_slowdown + end } -- If interlocking is present, enable route setting functions |