rpgscript.rb fix for riby 3

This commit is contained in:
DepressedTWM 2026-05-22 10:13:57 +04:00
parent fd709e073d
commit 6470bc6e4b

View file

@ -43,7 +43,7 @@ list_path = File.join(scripts_dir, '_scripts.txt')
if extract
# Make sure the script directory exists
Dir.mkdir(scripts_dir) unless Dir.exists? scripts_dir
Dir.mkdir(scripts_dir) unless Dir.exist? scripts_dir
# Keep track of names of scripts extracted so we can warn about duplicates
names = Hash.new(0)