mirror of
https://github.com/exane/not-gwent-online
synced 2024-11-23 19:36:53 +00:00
card type fix
This commit is contained in:
parent
0cdce4b543
commit
fef997614d
@ -18,6 +18,7 @@ var Card = (function(){
|
||||
this._forcedPower = -1;
|
||||
this._init();
|
||||
|
||||
|
||||
};
|
||||
var r = Card.prototype;
|
||||
/**
|
||||
@ -96,7 +97,7 @@ var Card = (function(){
|
||||
return this._data.musterType || null;
|
||||
}
|
||||
r.getType = function(){
|
||||
return typeof this._changedType === "undefined" ? this._data.type : this._changedType;
|
||||
return this._changedType == null ? this._data.type : this._changedType;
|
||||
}
|
||||
r.changeType = function(type) {
|
||||
this._changedType = type;
|
||||
|
Loading…
Reference in New Issue
Block a user