mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
rpgscript.rb fix for riby 3
This commit is contained in:
parent
fd709e073d
commit
6470bc6e4b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue