fix panic + scope
This commit is contained in:
parent
513fc00d49
commit
a7e1e7c8ed
@ -238,7 +238,8 @@ export default {
|
||||
if (!this.can_target_sheriff && x.is_sheriff)
|
||||
return false
|
||||
else
|
||||
return x.dist <= this.range
|
||||
//console.log("aa" +(this.sight-1))
|
||||
return x.dist <= this.range + this.sight -1
|
||||
}).map(player => {
|
||||
return {
|
||||
name: player.name,
|
||||
|
Loading…
Reference in New Issue
Block a user