summaryrefslogtreecommitdiffhomepage
path: root/dragon/framerate.rb
diff options
context:
space:
mode:
authorAmir Rajan <[email protected]>2021-09-06 14:32:04 -0500
committerAmir Rajan <[email protected]>2021-09-06 14:34:34 -0500
commit2f5eb6ab368b062dbbde39b3cee6eae23c5452ff (patch)
treee2f0b5f4a1ab4919cf5669f6187994489411821a /dragon/framerate.rb
parentaa8d3ac4bdccf522b8082a7fa7d595be2bd54b7d (diff)
downloaddragonruby-game-toolkit-contrib-2f5eb6ab368b062dbbde39b3cee6eae23c5452ff.tar.gz
dragonruby-game-toolkit-contrib-2f5eb6ab368b062dbbde39b3cee6eae23c5452ff.zip
Synced with version 2.26
Diffstat (limited to 'dragon/framerate.rb')
-rw-r--r--dragon/framerate.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/dragon/framerate.rb b/dragon/framerate.rb
index a9504a6..ff2f1c5 100644
--- a/dragon/framerate.rb
+++ b/dragon/framerate.rb
@@ -35,12 +35,7 @@ module GTK
if framerate_below_threshold?
@last_framerate = current_framerate
- if !@framerate_important_notification_happened
- log_important framerate_warning_message
- else
- log framerate_warning_message
- end
- @framerate_important_notification_happened = true
+ log framerate_warning_message
end
end