Fixes AIize (Player panel Make AI button) killing the client of whoever it was used on (#66168)

* Fixes AIize (somehow)

* Why does this even exist it's never false

* Someone please explain why this is a bad idea
This commit is contained in:
GoblinBackwards
2022-04-17 01:16:03 -04:00
committed by GitHub
parent ca7ddc14fd
commit edcd1d70ba
2 changed files with 2 additions and 9 deletions
+1 -1
View File
@@ -720,7 +720,7 @@
return
message_admins(span_danger("Admin [key_name_admin(usr)] AIized [key_name_admin(our_mob)]!"))
log_admin("[key_name(usr)] AIized [key_name(our_mob)].")
our_mob.AIize(TRUE, our_mob.client, move)
our_mob.AIize(our_mob.client, move)
else if(href_list["makerobot"])
if(!check_rights(R_SPAWN))