Use the signed i64 profile encoding identified in PR #13. Make attached backups selectable in LocalMP after the daily quota, and debit backups only after the engine confirms the selected slot entered play. Record the stock daily allowance once per room and slot. Settle owned backups using the confirmed spawn facts and keep repeat settlement from charging the same battle again. Verified server and launcher types, MSVC compilation, three client builds for patch and Quirrel checks, and a temporary 2.61.0.58 build. In-game acceptance is pending. Co-authored-by: duduyagame <[email protected]>
15 lines
487 B
Plaintext
15 lines
487 B
Plaintext
function doRespawn() {
|
|
let request = this.lastRequestData
|
|
let source = request == null ? null : this.getWtoBackupSourceForRequest(request)
|
|
if (source != null) {
|
|
let backup = this.getWtoBackupToken(request, source)
|
|
if (backup == null || request?.wtoBackup != backup) {
|
|
this.lastRequestData = null
|
|
this.isApplyPressed = false
|
|
this.checkReady()
|
|
this.doSelectAircraft()
|
|
return
|
|
}
|
|
}
|
|
log("doRespawnPlayer called")
|