1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Index: eduactiv8-4.20.01-source/game_boards/game000.py
===================================================================
--- eduactiv8-4.20.01-source.orig/game_boards/game000.py
+++ eduactiv8-4.20.01-source/game_boards/game000.py
@@ -117,7 +117,7 @@ class Board(gd.BoardGame):
os.path.join("home_icons", img), alpha=True)
self.board.ships[-1].immobilize()
- if self.mainloop.scheme_code is "WB":
+ if self.mainloop.scheme_code == "WB":
img = 'score_hc_awb_l.png'
else:
img = 'score_hc_wb_l.png'
@@ -125,7 +125,7 @@ class Board(gd.BoardGame):
os.path.join("home_icons", img), alpha=True)
self.board.ships[-1].immobilize()
- if self.mainloop.scheme_code is "BW":
+ if self.mainloop.scheme_code == "BW":
img = 'score_hc_abw_l.png'
else:
img = 'score_hc_bw_l.png'
@@ -133,7 +133,7 @@ class Board(gd.BoardGame):
os.path.join("home_icons", img), alpha=True)
self.board.ships[-1].immobilize()
- if self.mainloop.scheme_code is "BY":
+ if self.mainloop.scheme_code == "BY":
img = 'score_hc_aby_l.png'
else:
img = 'score_hc_by_l.png'
|