diff options
author | orwell96 <mono96.mml@gmail.com> | 2016-09-15 11:50:37 +0200 |
---|---|---|
committer | orwell96 <mono96.mml@gmail.com> | 2016-09-15 11:50:37 +0200 |
commit | b1c9b50406a40e247b7192ef43fe203a0a611072 (patch) | |
tree | f9b2f956bda209bef492fbee1146be57fab0724e /wagons.lua | |
parent | a05b7c8c8562161ae9ae585dc50cac9a4924217c (diff) | |
download | advtrains-b1c9b50406a40e247b7192ef43fe203a0a611072.tar.gz advtrains-b1c9b50406a40e247b7192ef43fe203a0a611072.tar.bz2 advtrains-b1c9b50406a40e247b7192ef43fe203a0a611072.zip |
add some items to the not-blocking-trains group
Diffstat (limited to 'wagons.lua')
-rw-r--r-- | wagons.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -111,7 +111,7 @@ end -- Remove the wagon
function wagon:on_punch(puncher, time_from_last_punch, tool_capabilities, direction)
- if not puncher or not puncher:is_player() then
+ if not puncher or not puncher:is_player() or puncher == self.driver then
return
end
|