nvrm. cloning her hitler waz bad idea!

This commit is contained in:
Andrew 2013-07-16 22:42:52 +12:00
parent 996fe4a31e
commit 20a7ed15da

View file

@ -46,7 +46,6 @@ public class Disguise {
public Disguise clone() { public Disguise clone() {
Disguise disguise = new Disguise(getType(), replaceSounds()); Disguise disguise = new Disguise(getType(), replaceSounds());
disguise.watcher = watcher.clone();
return disguise; return disguise;
} }
@ -350,6 +349,10 @@ public class Disguise {
replaceSounds = areSoundsReplaced; replaceSounds = areSoundsReplaced;
} }
public void setWatcher(FlagWatcher newWatcher) {
watcher = newWatcher;
}
private String toReadable(String string) { private String toReadable(String string) {
String[] strings = string.split("_"); String[] strings = string.split("_");
string = ""; string = "";