f3cuk / WICKED-AI

Wicked AI missions for your server
30 stars 59 forks source link

Consolidate checking for random and static positions #167

Closed oiad closed 6 years ago

oiad commented 6 years ago

Remove stupid isServer check Consolidate checks for both random and static positions. Remove infistar check of isNearTown, I found this makes no difference / is probably an old bug. Tidy formatting so my brain doesnt hurt

This greatly speeds up find position checks since we're not sleeping before checking for position (why? why would you do this? only sleep if you can't find a position!)