forked from SilverStudioGames/WTS
Bug fix
* Fix a rare bug that will mask parser bugs due to the order of initialization
This commit is contained in:
parent
d2a76938b4
commit
650563775e
@ -6,7 +6,7 @@ screen tooltip():
|
||||
zorder 5
|
||||
style_prefix "tooltip"
|
||||
|
||||
if settings.get("tooltip") and _tooltip:
|
||||
if settings.get("tooltip") and getattr(store, "_tooltip", None):
|
||||
window:
|
||||
id "tooltip"
|
||||
at tooltip_follow
|
||||
|
@ -1,5 +1,8 @@
|
||||
init python:
|
||||
def periodic_achievements():
|
||||
if not hasattr(store, "achievements"):
|
||||
return
|
||||
|
||||
if _in_replay is None:
|
||||
if not achievements.status('gold') and game.gold >= 10000:
|
||||
achievements.unlock("gold")
|
||||
|
Loading…
Reference in New Issue
Block a user