- Fixed crash when starting a Vanguard game.

This commit is contained in:
Sloth
2014-10-24 12:56:52 +00:00
parent bde503b4fa
commit 1abd41b469

View File

@@ -494,7 +494,7 @@ public class CardView extends GameEntityView {
void updateRulesText(CardRules rules, CardTypeView type) {
String rulesText = null;
if (type.isVanguard()) {
if (type.isVanguard() && rules != null) {
rulesText = "Hand Modifier: " + rules.getHand() +
"\r\nLife Modifier: " + rules.getLife();
}