aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh-v-smacker <hans-von-smacker+github@gmail.com>2018-07-17 15:42:52 +0300
committerorwell96 <orwell@bleipb.de>2018-08-12 17:53:03 +0200
commit6d7d9d018161c5e14cfa0992bc3361e5df071c6f (patch)
tree7776d801b868b773ea7479e475b9ebdc9bed19a5
parentffc3cf9d10b705dd258d5f57fcee768e3eef02bf (diff)
downloadadvtrains-6d7d9d018161c5e14cfa0992bc3361e5df071c6f.tar.gz
advtrains-6d7d9d018161c5e14cfa0992bc3361e5df071c6f.tar.bz2
advtrains-6d7d9d018161c5e14cfa0992bc3361e5df071c6f.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 afd66d7..9cf6cc4 100644
--- a/advtrains/wagons.lua
+++ b/advtrains/wagons.lua
@@ -556,7 +556,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, data.owner, data.whitelist) then
- poss[#poss+1]={name=attrans("Board Computer"), key="bordcom"}
+ poss[#poss+1]={name=attrans("Onboard Computer"), key="bordcom"}
end
if data.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 0ee6cc7..62f4612 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"},
@@ -67,9 +67,9 @@ advtrains.register_wagon("engine_industrial_big", {
},
seat_groups = {
dstand={
-
name = "Driver Stand",
access_to = {},
+ driving_ctrl_access = true,
},
},
assign_to_seat_group = {"dstand"},