From 5dc41054c67436ce2d2a14729472d6cb08b9cc37 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 29 Aug 2007 12:00:54 +0000 Subject: debugger plugin: fix computation of memory occupation differences. --- data/rbot/plugins/debugger.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') diff --git a/data/rbot/plugins/debugger.rb b/data/rbot/plugins/debugger.rb index 6eabdfea..fe000324 100644 --- a/data/rbot/plugins/debugger.rb +++ b/data/rbot/plugins/debugger.rb @@ -48,7 +48,7 @@ class DebugPlugin < Plugin end @delta.clear - (@curr.keys + @delta.keys).uniq.each do |k,v| + (@curr.keys + @prev.keys).uniq.each do |k,v| @delta[k] = @curr[k]-@prev[k] end -- cgit v1.2.3