fix bug about seats on wagon
sometimes a single character can cause great mess...master
parent
f155011e1a
commit
8f5c0feb45
BIN
advtrains.zip
BIN
advtrains.zip
Binary file not shown.
|
@ -427,7 +427,7 @@ function wagon:get_off_plr(pname)
|
|||
end
|
||||
end
|
||||
function wagon:get_seatno(pname)
|
||||
for no, cont in ipairs(self.seatp) do
|
||||
for no, cont in pairs(self.seatp) do
|
||||
if cont==pname then
|
||||
return no
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue