Fix skincolor spraycan cache

Fixes KartKrew/Kart#1080
This commit is contained in:
Eidolon 2024-02-26 23:17:52 -06:00
parent 9f00befccf
commit b48924f539

View file

@ -596,6 +596,7 @@ void srb2::load_ng_gamedata()
if (can.color == skincolors[j].name)
{
gamedata->spraycans[i].col = j;
skincolors[j].cache_spraycan = i;
foundcolor = true;
break;
}