More additions to .rubocop.yml, minor code tweaks

This commit is contained in:
Maruno17
2021-12-22 21:01:37 +00:00
parent 022dc7aadb
commit 514fe13ca2
3 changed files with 18 additions and 4 deletions

View File

@@ -726,8 +726,8 @@ module PluginManager
end
end
end
echoln ""
if scripts.length > 0
echoln ""
Console.echo_h2("Successfully loaded #{scripts.length} plugin(s)", text: :green)
else
Console.echo_h2("No plugins found", text: :green)

View File

@@ -522,6 +522,7 @@ def pbMessageDisplay(msgwindow, message, letterbyletter = true, commandProc = ni
signWaitTime = Graphics.frame_rate / 2
haveSpecialClose = false
specialCloseSE = ""
startSE = nil
controls.length.times do |i|
control = controls[i][0]
param = controls[i][1]