Fix a couple of errors in new events
This commit is contained in:
parent
c571511854
commit
0ff36ce8fd
@ -112,6 +112,7 @@ MA 02110-1301, USA.
|
|||||||
{
|
{
|
||||||
[station sendExpandedMessage:@"[station-docking-clearance-abort-cancelled]" toShip:player];
|
[station sendExpandedMessage:@"[station-docking-clearance-abort-cancelled]" toShip:player];
|
||||||
[player setDockingClearanceStatus:DOCKING_CLEARANCE_STATUS_NONE];
|
[player setDockingClearanceStatus:DOCKING_CLEARANCE_STATUS_NONE];
|
||||||
|
[player doScriptEvent:OOJSID("stationWithdrewDockingClearance")];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -8804,7 +8804,7 @@ Vector positionOffsetForShipInRotationToAlignment(ShipEntity* ship, Quaternion q
|
|||||||
{
|
{
|
||||||
[self removeDefenseTarget:target];
|
[self removeDefenseTarget:target];
|
||||||
[shipAI message:@"DEFENSE_TARGET_DESTROYED"];
|
[shipAI message:@"DEFENSE_TARGET_DESTROYED"];
|
||||||
[self doScriptEvent:OOJSID("shipDefenseTargetDestroyed") withArgument:target];
|
[self doScriptEvent:OOJSID("defenseTargetDestroyed") withArgument:target];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1887,6 +1887,7 @@ NSDictionary *OOMakeDockingInstructions(StationEntity *station, Vector coords, f
|
|||||||
|
|
||||||
}
|
}
|
||||||
[escort_ship release];
|
[escort_ship release];
|
||||||
|
return escort_ship;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -2230,6 +2231,7 @@ NSDictionary *OOMakeDockingInstructions(StationEntity *station, Vector coords, f
|
|||||||
{
|
{
|
||||||
soa += [sub countOfShipsInDockingQueue];
|
soa += [sub countOfShipsInDockingQueue];
|
||||||
}
|
}
|
||||||
|
soa += [_shipsOnHold count];
|
||||||
return soa;
|
return soa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user