mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Fixed code relating to initial held items in battle, fixed default functionality of rand when no number is given
This commit is contained in:
@@ -132,8 +132,9 @@ class << Kernel
|
||||
return oldRand(a)
|
||||
end
|
||||
elsif a.nil?
|
||||
return (b) ? oldRand(b) : oldRand(2)
|
||||
return oldRand(b)
|
||||
end
|
||||
return oldRand
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user