Stage Service: Support Player Spawns (#2311)

* Stage Service: Support Player Spawns

* Allow for spawn deletion, double-check spawn sizes

* Advance player_data on continue

---------

Co-authored-by: Luke Street <luke@street.dev>
This commit is contained in:
jdflyer
2026-09-03 10:01:42 -06:00
committed by GitHub
parent b748eaca1e
commit fb4142c7ef
2 changed files with 58 additions and 23 deletions
+3 -1
View File
@@ -130,7 +130,9 @@ bool stage_apply_actor_edits(void* actorData, void* actorPrm, size_t recordSize,
}
std::memcpy(actorData, winner->record.data(), winner->record.size());
std::memcpy(actorPrm, winner->record.data() + 8, winner->record.size() - 8);
if (actorPrm) {
std::memcpy(actorPrm, winner->record.data() + 8, winner->record.size() - 8);
}
return true;
}