aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh-v-smacker <hans-von-smacker+github@gmail.com>2018-07-17 15:42:52 +0300
committerh-v-smacker <hans-von-smacker+github@gmail.com>2018-07-17 15:42:52 +0300
commit5ec5660751d0c2bf7806308c54ac37d067aa7b04 (patch)
treef27d94270cab15ffef13e060d4030ee8005683eb
parent497f3053bba0310c760454a3dc8e5e0f5d500fe7 (diff)
downloadadvtrains-5ec5660751d0c2bf7806308c54ac37d067aa7b04.tar.gz
advtrains-5ec5660751d0c2bf7806308c54ac37d067aa7b04.tar.bz2
advtrains-5ec5660751d0c2bf7806308c54ac37d067aa7b04.zip
onboard computer fix
-rw-r--r--advtrains/wagons.lua2
-rw-r--r--advtrains_train_industrial/init.lua4
2 files changed, 3 insertions, 3 deletions
diff --git a/advtrains/wagons.lua b/advtrains/wagons.lua
index d9b467c..b0cb4ea 100644
--- a/advtrains/wagons.lua
+++ b/advtrains/wagons.lua
@@ -579,7 +579,7 @@ function wagon:on_rightclick(clicker)
poss[#poss+1]={name=attrans("Show Inventory"), key="inv"}
end
if self.seat_groups[sgr].driving_ctrl_access and advtrains.check_driving_couple_protection(pname, self.owner, self.whitelist) then
- poss[#poss+1]={name=attrans("Bord Computer"), key="bordcom"}
+ poss[#poss+1]={name=attrans("Onboard Computer"), key="bordcom"}
end
if self.owner==pname then
poss[#poss+1]={name=attrans("Wagon properties"), key="prop"}
diff --git a/advtrains_train_industrial/init.lua b/advtrains_train_industrial/init.lua
index a60bf74..c654449 100644
--- a/advtrains_train_industrial/init.lua
+++ b/advtrains_train_industrial/init.lua
@@ -29,9 +29,9 @@ advtrains.register_wagon("engine_industrial", {
},
seat_groups = {
dstand={
-
name = "Driver Stand",
access_to = {},
+ driving_ctrl_access = true,
},
},
assign_to_seat_group = {"dstand"},
@@ -66,9 +66,9 @@ advtrains.register_wagon("engine_industrial_big", {
},
seat_groups = {
dstand={
-
name = "Driver Stand",
access_to = {},
+ driving_ctrl_access = true,
},
},
assign_to_seat_group = {"dstand"},