Minimap key color glitch hackaround.

This commit is contained in:
Mari the Deer 2023-10-19 12:03:11 +02:00
commit 572bed1c9b
2 changed files with 4 additions and 3 deletions

View file

@ -291,7 +291,8 @@ Class SWWMSimpleTracker play
vipitem = SWWMUtility.IsVipItem(target);
lastupdate = level.maptime;
iskey = (target is 'Key');
if ( iskey ) keycolor = Key.GetMapColorForKey(Key(target));
if ( iskey && !Key(target).Owner ) // owned keys glitch out and return the wrong color
keycolor = Key.GetMapColorForKey(Key(target));
if ( isitem )
{
if ( !target.bSPECIAL || Inventory(target).Owner )