diff --git a/Export_Code/gml_Script_draw_gui.gml b/Export_Code/gml_Script_draw_gui.gml index 11ef88f..ad95104 100644 --- a/Export_Code/gml_Script_draw_gui.gml +++ b/Export_Code/gml_Script_draw_gui.gml @@ -1,4 +1,4 @@ -var scaleMult, f, arrList, ID, _x, _y, xoffNew, lowestPosX, lowestPosY, enemyCount, i, arrData, xDiff, yDiff, sax, spectator, playerState, lowestDist, dist, combatState; +var scaleMult, f, arrList, ID, _x, _y, xoffNew, lowestPosX, lowestPosY, enemyCount, i, arrData, xDiff, yDiff, sax, spectator, playerState, lowestDist, dist, combatState, drawn; if (global.classicmode == 0 && global.opshowhud) { xoff = 33 @@ -549,6 +549,7 @@ if (global.classicmode == 0 && global.opshowhud) spectator = arrData[5] playerState = arrData[6] combatState = arrData[7] + drawn = 0 if global.spectator { if (!sax) @@ -572,9 +573,12 @@ if (global.classicmode == 0 && global.opshowhud) { if combatState draw_sprite_ext(oControl.MultitroidMapIcon, (arrData[0] - 1), (((276 + widescreen_space) + 16) - (xDiff * 8)), (12 - (yDiff * 8)), 1, 1, direction, c_white, oControl.malpha) + drawn = 1 } } } + if (drawn == 0 && sax == global.sax) + draw_sprite_ext(oControl.MultitroidMapIcon, (arrData[0] - 1), (((276 + widescreen_space) + 16) - (xDiff * 8)), (12 - (yDiff * 8)), 1, 1, direction, c_white, oControl.malpha) } } }