mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'getcolormap-fix' into 'master'
Fix v.getColormap TC_ skin number values not applying correctly on replays. Closes #200 See merge request KartKrew/RingRacers!37
This commit is contained in:
commit
f1e9ddc878
1 changed files with 1 additions and 1 deletions
|
|
@ -1045,7 +1045,7 @@ static int libd_getColormap(lua_State *L)
|
||||||
skinnum = i;
|
skinnum = i;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (demo.playback)
|
if (demo.playback && skinnum >= 0)
|
||||||
skinnum = demo.skinlist[skinnum].mapping;
|
skinnum = demo.skinlist[skinnum].mapping;
|
||||||
|
|
||||||
// all was successful above, now we generate the colormap at last!
|
// all was successful above, now we generate the colormap at last!
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue