diff options
author | orwell96 <orwell@bleipb.de> | 2016-12-31 15:16:19 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2016-12-31 15:16:19 +0100 |
commit | 987cd5b7f0ef86884858a107cc915f548675f2a8 (patch) | |
tree | 3db1bbcb3c730d3da9ed49d1bafb198142f9f973 /advtrains/pseudoload.lua | |
parent | d08e202346192c50072450a3eaa3b28cad852b84 (diff) | |
download | advtrains-987cd5b7f0ef86884858a107cc915f548675f2a8.tar.gz advtrains-987cd5b7f0ef86884858a107cc915f548675f2a8.tar.bz2 advtrains-987cd5b7f0ef86884858a107cc915f548675f2a8.zip |
spawn couple on train collision
also fix empty trains hanging around for too long
Diffstat (limited to 'advtrains/pseudoload.lua')
-rw-r--r-- | advtrains/pseudoload.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/pseudoload.lua b/advtrains/pseudoload.lua index 3f4f321..677cd14 100644 --- a/advtrains/pseudoload.lua +++ b/advtrains/pseudoload.lua @@ -176,7 +176,7 @@ function advtrains.reset_trackdb_position(pos) if not advtrains.trackdb[rdp.y] then advtrains.trackdb[rdp.y]={} end if not advtrains.trackdb[rdp.y][rdp.x] then advtrains.trackdb[rdp.y][rdp.x]={} end advtrains.trackdb[rdp.y][rdp.x][rdp.z]=nil - advtrains.get_rail_info_at(pos)--to restore it. + advtrains.get_rail_info_at(pos, advtrains.all_tracktypes)--to restore it. end |