diff options
Diffstat (limited to 'dragon/framerate.rb')
| -rw-r--r-- | dragon/framerate.rb | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/dragon/framerate.rb b/dragon/framerate.rb index 2550443..478b340 100644 --- a/dragon/framerate.rb +++ b/dragon/framerate.rb @@ -1,3 +1,4 @@ +# coding: utf-8 # Copyright 2019 DragonRuby LLC # MIT License # framerate.rb has been released under MIT (*only this file*). @@ -33,13 +34,8 @@ module GTK if @tick_speed_count > 60 * 2 if framerate_below_threshold? @last_framerate = current_framerate - if [email protected]? - if !@framerate_important_notification_happened - log_important framerate_warning_message - else - log framerate_warning_message - end - @framerate_important_notification_happened = true + if [email protected]? && [email protected]_replaying? + log framerate_warning_message end end |
