mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-06-28 06:20:29 +02:00
Various small fixes
* Save the fakeplayer's wielded item in set_wielded_item * pipeworks.luaentity: Return the found objects in get_objects_inside_radius * Remove the invalid and unused on_blast return values in lua_tube.lua This should avoid a crash when a strong explosion happens next to a Lua Tube. * Do not access a global "nodename" in a BUG message. This avoids a potential crash, in case the message actually appears in practice. * Set the Flow Sensor and Fountain Head mesecons connection rules * pipeworks.luaentity: Use the same function for move_to and set_pos * (no functional change) Do not save the object returned by tube_inject_item into the "item1" local variable in filter-injector.lua
This commit is contained in:
@ -339,7 +339,9 @@ flowlogic.run_transition = function(node, currentpressure)
|
||||
end
|
||||
|
||||
if not found then
|
||||
pipeworks.logger("flowlogic.run_transition() BUG no transition definitions found! nodename="..nodename.." currentpressure="..tostring(currentpressure))
|
||||
pipeworks.logger("flowlogic.run_transition() BUG no transition " ..
|
||||
"definitions found! node.name=" .. node.name ..
|
||||
" currentpressure=" .. tostring(currentpressure))
|
||||
end
|
||||
|
||||
return result
|
||||
|
Reference in New Issue
Block a user