Skip to content

Commit

Permalink
disable the build square cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcushutchings committed Oct 13, 2023
1 parent 4317b7e commit a758018
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rts/Game/GameHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,10 @@ CGameHelper::BuildSquareStatus CGameHelper::TestUnitBuildSquare(

// This cache is causing a desync, so for the moment (until the cause can be determined and
// resolved), don't use it in synced code.
if (!synced) {
// This is causing F2 - traversibility crashes and it is also causes a masssive fps drop when trying to
// place a geothermal over a vent. Disabled for now - until we decide how to proceed.
// if (!synced) {
if (false) {
TestUnitBuildSquareCache::ClearStaleItems(synced);
auto key = TestUnitBuildSquareCache::GetCacheKey(buildInfo, allyteam, synced);
bool cacheFound = false;
Expand Down

0 comments on commit a758018

Please sign in to comment.