Fixed counter displaying as null / Revert #10090

This commit is contained in:
Anuken 2024-08-24 14:08:04 -04:00
parent b451b51e61
commit 22bd8c634f
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ public class LAssembler{
public LAssembler(){
//instruction counter
putVar("@counter");
putVar("@counter").isobj = false;
//currently controlled unit
putConst("@unit", null);
//reference to self

View File

@ -257,7 +257,7 @@ public class LCanvas extends Table{
}
}
if(parent != null) parent.invalidateHierarchy();//don't invalid self
invalidateHierarchy();
if(parent != null && parent instanceof Table){
setCullingArea(parent.getCullingArea());