Fix 'WriteKey()' needing a string, not an integer.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13327 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
c3a992c3ef
commit
279478325d
|
@ -113,5 +113,5 @@ for jsonRule in dialogs:
|
|||
|
||||
if speech.speak(Crossfire.WhatIsMessage()) == 0:
|
||||
# block the NPC for some time
|
||||
Crossfire.WhoAmI().WriteKey('talked_to', random.randint(3, 8), 1);
|
||||
Crossfire.WhoAmI().WriteKey('talked_to', str(random.randint(3, 8)), 1);
|
||||
Crossfire.SetReturnValue(1)
|
||||
|
|
Loading…
Reference in New Issue