mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-11 07:04:59 +00:00
fixed gym battles crash
This commit is contained in:
7
Data/Scripts/050_AddOns/Migration/pb_types.rb
Normal file
7
Data/Scripts/050_AddOns/Migration/pb_types.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
#pour pas avoir a changer les evenements qui callent PBTypes.getName dans les gyms
|
||||
class PBTypes
|
||||
def PBTypes.getName(index)
|
||||
return GameData::Type.get(index).real_name
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user