From 0f15ee6e89c236bbb2db921f0de1e36dd2dde89e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sat, 14 May 2016 23:26:30 +0200 Subject: [PATCH] now generated ZPMs count into game win requirements --- cicaprojekt/Game.java | 1 + 1 file changed, 1 insertion(+) diff --git a/cicaprojekt/Game.java b/cicaprojekt/Game.java index aeefed6..ae76fe2 100644 --- a/cicaprojekt/Game.java +++ b/cicaprojekt/Game.java @@ -215,6 +215,7 @@ public class Game { } source.setZPMOnTile(new ZPM()); + dungeon.setZPMsToWin(dungeon.getZPMsToWin()+1); } } }