diff options
author | orwell96 <orwell@bleipb.de> | 2019-01-22 12:31:18 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2019-01-22 12:31:18 +0100 |
commit | 97a2ff7db064ffa7fdec430d6fa2963166372b5f (patch) | |
tree | 878dc3b94785c3c8247077b7279ed5cceabbb16b /advtrains/wagons.lua | |
parent | 240e7dd091c6c66ae6cdade3d9f4099756f60916 (diff) | |
download | advtrains-97a2ff7db064ffa7fdec430d6fa2963166372b5f.tar.gz advtrains-97a2ff7db064ffa7fdec430d6fa2963166372b5f.tar.bz2 advtrains-97a2ff7db064ffa7fdec430d6fa2963166372b5f.zip |
Fix dropping of items on wagon destroy
Diffstat (limited to 'advtrains/wagons.lua')
-rw-r--r-- | advtrains/wagons.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains/wagons.lua b/advtrains/wagons.lua index d5f7949..1b1aa96 100644 --- a/advtrains/wagons.lua +++ b/advtrains/wagons.lua @@ -218,6 +218,7 @@ function wagon:destroy() --atdebug("[wagon ", self.id, "]: destroying")
self.object:remove()
+ return true
end
function wagon:on_step(dtime)
|