Fix an antipattern when using canUseTopic

remove redundant range checks that are checked in the fixed canUseTopic
This commit is contained in:
oranges
2016-05-22 00:23:47 +00:00
parent a8a86c88ac
commit 947e2c5c19
7 changed files with 9 additions and 19 deletions
+2 -2
View File
@@ -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