mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Fix an antipattern when using canUseTopic
remove redundant range checks that are checked in the fixed canUseTopic
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
|
||||
var/mob/user = usr
|
||||
|
||||
if(!user.canUseTopic(user))
|
||||
if(!user.canUseTopic(src))
|
||||
usr << browse(null, "window=hscan")
|
||||
onclose(usr, "hscan")
|
||||
return
|
||||
@@ -104,4 +104,4 @@
|
||||
return
|
||||
|
||||
attack_self(user)
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user