mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Refactoring and Bugfixes (#127)
* Replacing nil + compact! with delete, delete_at and delete_if wherever possible * Fixed Terrain Tag editor not setting the correct terrain * Fixed Text Cursor in Animation Editor not going right
This commit is contained in:
@@ -397,7 +397,8 @@ def pbBerryPlant
|
||||
berryData[3]=timenow.to_i # time planted
|
||||
berryData[4]=0 # total waterings
|
||||
berryData[5]=0 # number of replants
|
||||
berryData[6]=nil; berryData[7]=nil; berryData.compact! # for compatibility
|
||||
berryData.delete_at(6) # for compatibility
|
||||
berryData.delete_at(6) # for compatibility
|
||||
$PokemonBag.pbDeleteItem(berry,1)
|
||||
pbMessage(_INTL("{1} planted a {2} in the soft loamy soil.",
|
||||
$Trainer.name,GameData::Item.get(berry).name))
|
||||
|
||||
Reference in New Issue
Block a user