fix(master): a rocket launch preps the clone the player is going to

Launching to a property started an extra clone 0 instance of the zone besides the property's own, because
the prep only carried the zone. PrepZone now carries the clone when there is one (written only then, so a
plain prep is unchanged).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-29 23:11:20 -05:00
parent 1147b61fcb
commit 79d69bf4ac
6 changed files with 30 additions and 7 deletions

View File

@@ -140,7 +140,7 @@ private:
* Notifies the master server to prepare some world for a player to be able to travel to it
* @param zoneID the ID of the zone to prepare
*/
void TellMasterToPrepZone(int zoneID);
void TellMasterToPrepZone(int zoneID, LWOCLONEID cloneID = 0);
};
#endif // ROCKETLAUNCHPADCONTROLCOMPONENT_H