Merge pull request #6530 from PJB3005/pipes-the-pipening

Fixes ventcrawling through layer manifolds sucking.
This commit is contained in:
Rob Nelson
2015-11-10 11:59:07 -08:00
2 changed files with 8 additions and 0 deletions

View File

@@ -1094,6 +1094,10 @@
user << "You align yourself with the [user.ventcrawl_layer]\th output."
return 1
else
if(direction != dir && user.ventcrawl_layer != PIPING_LAYER_DEFAULT) // The mob is moving to the single pipe outlet, we need to align it if it's on a layer that's not the default layer
user.ventcrawl_layer = PIPING_LAYER_DEFAULT
user << "You are redirected into the [user.ventcrawl_layer]\th piping layer."
return ..()