MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Finish

Method Finish

src/saveload/saveload.cpp:2418–2424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2416 }
2417
2418 void Finish() override
2419 {
2420 if (this->file.has_value()) {
2421 _game_session_stats.savegame_size = ftell(*this->file);
2422 this->file.reset();
2423 }
2424 }
2425};
2426
2427/*******************************************

Callers 5

~FileWriterMethod · 0.95
AddFileMethod · 0.45
FlushMethod · 0.45
FinishMethod · 0.45
FinishMethod · 0.45

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected