v0.3.0a: fixed wands sometimes not charging
This commit is contained in:
parent
418e600482
commit
246c5efa53
|
@ -117,7 +117,8 @@ public abstract class Wand extends Item {
|
|||
}
|
||||
|
||||
public void charge( Char owner ) {
|
||||
if (charger == null) (charger = new Charger()).attachTo( owner );
|
||||
if (charger == null) charger = new Charger();
|
||||
charger.attachTo( owner );
|
||||
}
|
||||
|
||||
public void charge( Char owner, float chargeScaleFactor ){
|
||||
|
|
Loading…
Reference in New Issue
Block a user