fix, peut-être utile

This commit is contained in:
Antoine 2021-06-23 18:11:40 +02:00
parent ff7aafc94b
commit b94db90379

View File

@ -57,7 +57,9 @@ public class UIElementText extends UIDummy{
for (ObjectGl obj : this.txt.getCharList()){ //Cast en ObjectGl
this.engine.remove_objectGl(obj);
}
this.engine.remove_objectGl(background);
if (background != null){
this.engine.remove_objectGl(background);
}
}
/**