Made the check for entering mech's a little easier to read.

This commit is contained in:
CIB
2012-07-20 16:34:45 +03:00
parent d977a8cc20
commit d851d954df
+1 -1
View File
@@ -965,7 +965,7 @@
set category = "Object"
set name = "Enter Exosuit"
set src in oview(1)
if( !( (ishuman(usr) && !istajaran(usr) && !usr.stat) || (!ishuman(usr) && istajaran(usr) && !usr.stat) ) ) //Mechs can take Tajaran pilots now. (Because I have fixed the little bork that happened when fixing my little bork. Bork bork bork :P)
if(usr.stat != 0 || ( !istajaran(usr) && !ishuman(usr) ))
return
src.log_message("[usr] tries to move in.")
if (src.occupant)