Force reply type to be an integer.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13328 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
279478325d
commit
38295fe7da
|
@ -232,7 +232,7 @@ class Dialog:
|
|||
if reply[0] == msg:
|
||||
type = Crossfire.ReplyType.SAY
|
||||
if len(reply) > 2:
|
||||
type = reply[2]
|
||||
type = int(reply[2])
|
||||
Crossfire.SetPlayerMessage(reply[1], type)
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in New Issue