From 97a2ff7db064ffa7fdec430d6fa2963166372b5f Mon Sep 17 00:00:00 2001 From: orwell96 Date: Tue, 22 Jan 2019 12:31:18 +0100 Subject: Fix dropping of items on wagon destroy --- advtrains/wagons.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'advtrains') 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) -- cgit v1.2.3