onboard computer fix
parent
ffc3cf9d10
commit
6d7d9d0181
|
@ -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"}
|
||||
|
|
|
@ -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"},
|
||||
|
|
Loading…
Reference in New Issue