@ -85,13 +85,13 @@ function onGameEditText(id, itemId, maxLength, text, writter, time)
end
end
okButton.onClick = doneFunc
okButton.onClick = doneFunc
cancelButton.onClick = destroy Windows
cancelButton.onClick = destroy
if not writeable then
if not writeable then
textWindow.onEnter = doneFunc
textWindow.onEnter = doneFunc
end
end
textWindow.onEscape = destroy Windows
textWindow.onEscape = destroy
table.insert ( windows , textWindow )
table.insert ( windows , textWindow )
end
end
@ -121,10 +121,10 @@ function onGameEditList(id, doorId, text)
end
end
okButton.onClick = doneFunc
okButton.onClick = doneFunc
cancelButton.onClick = destroy Windows
cancelButton.onClick = destroy
textWindow.onEnter = doneFunc
textWindow.onEnter = doneFunc
textWindow.onEscape = destroy Windows
textWindow.onEscape = destroy
table.insert ( windows , textWindow )
table.insert ( windows , textWindow )
end
end