summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-08-29 12:00:54 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-08-29 12:00:54 +0000
commit5dc41054c67436ce2d2a14729472d6cb08b9cc37 (patch)
tree5bbdee32e32ee3d10e3c62a1720d16a3d70650b5 /data/rbot
parent9f3561b05bef1ba04f9cc49ea4fb89a49b6291a4 (diff)
debugger plugin: fix computation of memory occupation differences.
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/debugger.rb2
1 files changed, 1 insertions, 1 deletions
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