aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_subway/init.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-01-09 18:30:29 +0100
committerorwell96 <orwell@bleipb.de>2018-01-09 18:30:29 +0100
commit33a8f0f570a2f3597ec273a4049d00acfb483828 (patch)
tree70d61fc6f3fd874d0f0fd05415f3dd3d74b540ac /advtrains_train_subway/init.lua
parent23da60848a1903af448bbd0312bce4e01b7f2197 (diff)
downloadadvtrains-33a8f0f570a2f3597ec273a4049d00acfb483828.tar.gz
advtrains-33a8f0f570a2f3597ec273a4049d00acfb483828.tar.bz2
advtrains-33a8f0f570a2f3597ec273a4049d00acfb483828.zip
Move driving_ctrl_access property to seat group
there's now a more strict check for the train_operator privilege Also added custom reasons on getting on a train.
Diffstat (limited to 'advtrains_train_subway/init.lua')
-rw-r--r--advtrains_train_subway/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_train_subway/init.lua b/advtrains_train_subway/init.lua
index b8dfa4b..58677e8 100644
--- a/advtrains_train_subway/init.lua
+++ b/advtrains_train_subway/init.lua
@@ -15,7 +15,6 @@ advtrains.register_wagon("subway_wagon", {
name="Driver stand",
attach_offset={x=0, y=10, z=0},
view_offset={x=0, y=0, z=0},
- driving_ctrl_access=true,
group="dstand",
},
{
@@ -48,6 +47,7 @@ advtrains.register_wagon("subway_wagon", {
name = "Driver Stand",
access_to = {"pass"},
require_doors_open=true,
+ driving_ctrl_access=true,
},
pass={
name = "Passenger area",