ruby: yield announcements for further customization

develop
jj 2012-08-31 19:16:13 +02:00
parent 54780cac3f
commit ce608e4f6a
1 changed files with 3 additions and 2 deletions

@ -66,6 +66,7 @@ module DFHack
world.status.reports << rep
world.status.announcements << rep
world.status.display_timer = 2000
yield rep if block_given?
end
end