diff options
-rw-r--r-- | advtrains.zip | bin | 1484903 -> 1484902 bytes | |||
-rw-r--r-- | wagons.lua | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/advtrains.zip b/advtrains.zip Binary files differindex c5777f8..4d966b4 100644 --- a/advtrains.zip +++ b/advtrains.zip @@ -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
|