Skip to content

Commit

Permalink
Added message to let player know if raid was successful
Browse files Browse the repository at this point in the history
  • Loading branch information
Elkasitu committed Oct 26, 2013
1 parent 893d1d7 commit 3e753b1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ProjectTravian/travianRaiderGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,15 @@ def raid():
if isLogged:
# if the user is logged in, proceed to raid
TravianRaider.raidGoldless()
loggedLabel['foreground'] = "green"
logged.set("Raid successful!")
timelib.sleep(2)
logged.set("")
else:
pass
loggedLabel['foreground'] = "red"
logged.set("Not logged!")
timelib.sleep(2)
logged.set("")

def addToRaidlist(*args):
try:
Expand Down

0 comments on commit 3e753b1

Please sign in to comment.