onboard computer fix

master
h-v-smacker 2018-07-17 15:42:52 +03:00 committed by orwell96
parent ffc3cf9d10
commit 6d7d9d0181
2 changed files with 3 additions and 3 deletions

View File

@ -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"}

View File

@ -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"},