mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-28 08:30:08 +07:00
Fixed issue with displaying unloaded texture briefly before new one is loaded
This commit is contained in:
parent
22d7701647
commit
11fe2682f6
@ -69,6 +69,10 @@ public class ZoneEntrySystem extends EntitySystem {
|
||||
|
||||
private void displayEntry(Map map, Map.Zone zone) {
|
||||
if (entryDescriptor != null) Riiablo.assets.unload(entryDescriptor.fileName);
|
||||
if (entryImage != null) {
|
||||
entryImage.clearActions();
|
||||
entryImage.setVisible(false);
|
||||
}
|
||||
loaded = false;
|
||||
|
||||
// TODO: i18n? Not sure if these have translations.
|
||||
|
Loading…
Reference in New Issue
Block a user