mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
Updates OD lints (#26729)
* yea * update lints * lint changes and code fixes * i hate old code * dont make this an error
This commit is contained in:
@@ -456,7 +456,7 @@
|
||||
var/list/output = list()
|
||||
if(!processed)
|
||||
processed = list()
|
||||
if(src in processed || isturf(src))
|
||||
if((src in processed) || isturf(src))
|
||||
return output
|
||||
|
||||
processed += src
|
||||
|
||||
@@ -41,7 +41,7 @@ Also, you never added distance checking after target is selected. I've went ahea
|
||||
to_chat(user, "<span class='warning'>You're killing yourself! You can't concentrate enough to do this!</span>")
|
||||
return
|
||||
|
||||
if(target.mind.special_role in protected_roles && target != user)
|
||||
if((target.mind.special_role in protected_roles) && target != user)
|
||||
to_chat(user, "<span class='danger'>Their mind is resisting your spell.</span>")
|
||||
return
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
|
||||
return
|
||||
|
||||
// If the uplink's holder is in the user's contents
|
||||
if((U.loc in user.contents || (in_range(U.loc, user) && isturf(U.loc.loc))))
|
||||
if(((U.loc in user.contents) || (in_range(U.loc, user) && isturf(U.loc.loc))))
|
||||
if(cost > U.uses)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user