diff --git a/Export_Code/gml_Object_oClient_Step_0.gml b/Export_Code/gml_Object_oClient_Step_0.gml index 00666b9..0edabd9 100644 --- a/Export_Code/gml_Object_oClient_Step_0.gml +++ b/Export_Code/gml_Object_oClient_Step_0.gml @@ -1,4 +1,4 @@ -var size, type, alignment, sax, bufferSize, result, i, arr, ID, findID, h, arrList, arrID, arrX, arrY, arrName, findHatchlingID, hatchling, lowestPosX, lowestPosY, enemyCount, arrData, xDiff, yDiff, spectator, playerInBossRoom, arrMapIcon, playerRoom; +var size, type, alignment, sax, bufferSize, result, i, arr, ID, findID, h, arrList, arrID, arrX, arrY, arrName, findHatchlingID, hatchling, lowestPosX, lowestPosY, enemyCount, arrData, xDiff, yDiff, spectator, playerInBossRoom, arrMapIcon, playerRoom, playerState; if (!connected) { if (isConnected >= 0) @@ -730,6 +730,12 @@ if (((!global.ingame) || (!global.opshowhud)) && global.saxmode) yDiff = (oClient.posY - arrData[2]) sax = arrData[3] spectator = arrData[5] + playerState = arrData[6] + if (playerState == 27) + { + xDiff *= 2 + yDiff *= 2 + } if ((abs(xDiff) < lowestPosX || abs(yDiff) < lowestPosY) && sax != global.sax && ID != global.clientID) { if spectator diff --git a/Export_Code/gml_Object_oControl_Other_10.gml b/Export_Code/gml_Object_oControl_Other_10.gml index 1473738..6ef3bb8 100644 --- a/Export_Code/gml_Object_oControl_Other_10.gml +++ b/Export_Code/gml_Object_oControl_Other_10.gml @@ -1,5 +1,10 @@ if (global.saxmode && global.enemyNearby) exit +if instance_exists(oCharacter) +{ + if (oCharacter.state == 27 && global.saxmode) + exit +} if (global.ingame == 1 && global.enablecontrol == 1 && room != rm_transition && ((!keyboard_check(vk_alt)) || os_type == os_linux)) { event_user(3)