Browse Source

Fixed CheckStaticAccess

Brian Fiete 5 years ago
parent
commit
90f59b4f5d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      IDEHelper/Compiler/BfModule.cpp

+ 1 - 1
IDEHelper/Compiler/BfModule.cpp

@@ -6038,7 +6038,7 @@ BfIRValue BfModule::FixClassVData(BfIRValue value)
 void BfModule::CheckStaticAccess(BfTypeInstance* typeInstance)
 {	
 	// Note: this is not just for perf, it fixes a field var-type resolution issue
-	if (!mBfIRBuilder->mIgnoreWrites)
+	if (mBfIRBuilder->mIgnoreWrites)
 		return;
 
 	PopulateType(typeInstance, BfPopulateType_DataAndMethods);