Don't log the bell, it works.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18001 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
c66efbe916
commit
25b8d7adb4
|
@ -50,10 +50,10 @@ hour = Crossfire.GetTime()[3]
|
|||
if not 'init' in dict.keys():
|
||||
dict['init'] = 1
|
||||
dict['last'] = hour
|
||||
Crossfire.Log(Crossfire.LogDebug, "Bell init")
|
||||
#Crossfire.Log(Crossfire.LogDebug, "Bell init")
|
||||
else:
|
||||
last = dict['last']
|
||||
if (hour != last):
|
||||
dict['last'] = hour
|
||||
Crossfire.Log(Crossfire.LogDebug, "Bell ringing")
|
||||
#Crossfire.Log(Crossfire.LogDebug, "Bell ringing")
|
||||
ring_bell()
|
||||
|
|
Loading…
Reference in New Issue