diff --git a/AutismBotIngame/scripting/autism_bot_info.sp b/AutismBotIngame/scripting/autism_bot_info.sp index 1765f6e1..66503265 100644 --- a/AutismBotIngame/scripting/autism_bot_info.sp +++ b/AutismBotIngame/scripting/autism_bot_info.sp @@ -444,11 +444,14 @@ public void trace_hulling_bot() } //currently detects when two walls meet and create a corner float move_angles[3]; - GetClientEyeAngles(present, move_angles); - move_angles[0] = 0.0; - move_angles[1] += 35.0; - move_angles[2] = 0.0; - TeleportEntity(present, NULL_VECTOR, move_angles, NULL_VECTOR); + if (GetEntityMoveType(present) != MOVETYPE_LADDER) + { + GetClientEyeAngles(present, move_angles); + move_angles[0] = 0.0; + move_angles[1] += 35.0; + move_angles[2] = 0.0; + TeleportEntity(present, NULL_VECTOR, move_angles, NULL_VECTOR); + } return; } }