Fix incorrect error parsing for new blocks

This commit is contained in:
SpectralFlame 2023-05-08 05:47:22 -05:00 committed by cyip92
parent 13ceca948a
commit c7ad30a581
2 changed files with 5 additions and 1 deletions

View File

@ -134,6 +134,10 @@ export default {
// we also want to hide tooltips because this causes poor UI if there are a lot of nearby errors upon conversion
this.recalculateErrorCount();
this.suppressTooltip = true;
// Force the editor to parse the script again after all the values have been filled in above, or else it'll create
// blocks which always have errors due to undefined props
BlockAutomator.parseTextFromBlocks();
},
// Destroying single inputs need to be handled carefully because there are three situations under which they will
// be removed, and they all require different behavior:

View File

@ -63,7 +63,7 @@ GameDatabase.changelog = [
<li>Storing real time no longer prevents autobuyers from ticking</li>
<li>Fixed bugged modal and game crash when attempting to exit a Celestial Reality from the Glyph tab</li>
<li>IAP flag in speedruns is now updated more consistently</li>
<li>Fixed Realty button sometimes showing an incorrect projected RM value due to amplification</li>
<li>Fixed Reality button sometimes showing an incorrect projected RM value due to amplification</li>
<li>Fixed Black Holes getting stuck as permanently inactive in some cases</li>
<li>Fixed negative Glyph counts not being properly updated when using Glyph undo</li>
<li>Glyph purge modals now count identical Glyphs properly</li>