Merge pull request #10168 from Ghommie/Ghommie-cit459

Allows ghost mentors to orbit around the target instead of setting their view to theirs.
This commit is contained in:
kevinz000
2019-12-30 00:17:46 -08:00
committed by GitHub
3 changed files with 21 additions and 13 deletions
@@ -19,6 +19,12 @@
mentor_follow(M)
return TRUE
if(href_list["mentor_unfollow"])
var/mob/living/M = locate(href_list["mentor_follow"])
if(M && mentor_datum.following == M)
mentor_unfollow()
return TRUE
/client/proc/mentor_datum_set(admin)
mentor_datum = GLOB.mentor_datums[ckey]
if(!mentor_datum && check_rights_for(src, R_ADMIN,0)) // admin with no mentor datum?let's fix that