Skip to content
Browse files

Double elevator: transfer MoveTo calls to master case (#1708).

  • Loading branch information...
Armag3ddon committed Oct 25, 2017
1 parent df861d2 commit ea301d728980eff1bb9afd14241c0cfb267be16e
Showing with 2 additions and 0 deletions.
  1. +2 −0 planet/Objects.ocd/Structures.ocd/Elevator.ocd/Case.ocd/Script.c
@@ -535,6 +535,8 @@ private func StopAutomaticMovement()
// target will be checked again for COMD_Stop and distance after delay run out
public func MoveTo(int y, int delay, object target, bool user_requested)
if (IsSlave())
return partner->MoveTo(y, delay, target, user_requested);
// Not idle?
if (!CheckIdle() && !user_requested)

0 comments on commit ea301d7

Please sign in to comment.
You can’t perform that action at this time.