Fix lightbar settings, add failsafe retry loading for icons and action button handles when the icons fail to load for reasons. Fix sin wave breathing for lightbar on death screen, misplaced division operation. Release Build 8418.
if(!pge->garbageCollector.count(key)||pge->garbageCollector[key].originalStr!=sText){//If the text key already exists, don't have to recreate the decal, just update the expire time.
@ -678,6 +679,7 @@ void olc::ViewPort::DrawStringPropDecal(const olc::vf2d& pos, std::string_view s
}
if(!pge->garbageCollector.count(key)||pge->garbageCollector[key].originalStr!=sText){//If the text key already exists, don't have to recreate the decal, just update the expire time.
if(!pge->garbageCollector.count(key)||pge->garbageCollector[key].originalStr!=sText){//If the text key already exists, don't have to recreate the decal, just update the expire time.
if(!pge->garbageCollector.count(key)||pge->garbageCollector[key].originalStr!=sText){//If the text key already exists, don't have to recreate the decal, just update the expire time.
if(!garbageCollector.count(key)||garbageCollector[key].originalStr!=sText){//If the text key already exists, don't have to recreate the decal, just update the expire time.
if(!garbageCollector.count(key)||garbageCollector[key].originalStr!=sText){//If the text key already exists, don't have to recreate the decal, just update the expire time.
if(!garbageCollector.count(key)||garbageCollector[key].originalStr!=sText){//If the text key already exists, don't have to recreate the decal, just update the expire time.
if(!garbageCollector.count(key)||garbageCollector[key].originalStr!=sText){//If the text key already exists, don't have to recreate the decal, just update the expire time.