v0.3.4: fixed item names being in different languages in bones

This commit is contained in:
Evan Debenham
2016-01-19 01:16:11 -05:00
committed by Evan Debenham
parent 4b6ae663f7
commit b070cb0c6a
5 changed files with 15 additions and 11 deletions
@@ -118,8 +118,10 @@ public class Item implements Bundlable {
Dungeon.level.drop( detachAll( hero.belongings.backpack ), hero.pos ).sprite.drop( hero.pos );
}
public void syncVisuals(){
//do nothing by default, as most items need no visual syncing.
//'syncs' an item to be consistent between two separate game instances.
public void sync(){
//resets the name incase the language has changed.
name = Messages.get(this, "name");
}
public void doThrow( Hero hero ) {