Commit f652cfe7 authored by nanahira's avatar nanahira

fix

parent aa4be601
......@@ -1651,7 +1651,7 @@ class Room
return
kill_bots_with_name: (name) ->
stand_bots = room.get_playing_player().filter((player) ->
stand_bots = @get_playing_player().filter((player) ->
return player.is_local and player.name_vpass == name
)
for player in stand_bots
......
......@@ -2198,7 +2198,7 @@
//log.info "windbot added"
kill_bots_with_name(name) {
var j, len, player, results, stand_bots;
stand_bots = room.get_playing_player().filter(function(player) {
stand_bots = this.get_playing_player().filter(function(player) {
return player.is_local && player.name_vpass === name;
});
results = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment