Skip to content

Commit f14fb47

Browse files
committed
fix: prevent lack of return value in tas tools
1 parent 64e5397 commit f14fb47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Features/Tas/TasPlayer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ TasFramebulk &TasPlayer::RequestProcessedFramebulkAt(int slot, int tick) {
383383
}
384384

385385
console->Warning("TAS processed framebulk for tick %d not found! This should not happen!\n", tick);
386+
return processed.back();
386387
}
387388

388389
TasPlayerInfo TasPlayer::GetPlayerInfo(int slot, void *player, CUserCmd *cmd, bool clientside) {

0 commit comments

Comments
 (0)