fix bug about seats on wagon

sometimes a single character can cause great mess...
master
orwell96 2016-12-04 23:18:28 +01:00
parent f155011e1a
commit 8f5c0feb45
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

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