games/example/lib/aggressive_npc.rb in game_machine-0.0.11 vs games/example/lib/aggressive_npc.rb in game_machine-1.0.2

- old
+ new

@@ -47,10 +47,10 @@ def choose_target if player = sorted_players.first if position.distance(player[:vector]) <= @agro_radius movement.set_target(player[:vector]) @target_id = player[:id] - #log("target chosen #{@target_id}") + log("target chosen #{@target_id}") end end end def leash?