engine: client: fix #673

This commit is contained in:
Alibek Omarov 2021-11-16 15:52:49 +03:00 committed by a1batross
parent 508eb7ab5f
commit 9159d406e3
1 changed files with 2 additions and 0 deletions

View File

@ -197,6 +197,8 @@ static inline int Touch_ExportButtonToConfig( file_t *f, touch_button_t *button,
if( FBitSet( flags, TOUCH_FL_DEF_HIDE ))
SetBits( flags, TOUCH_FL_HIDE );
Cmd_Escape( newCommand, B( command ), sizeof( newCommand ));
FS_Printf( f, "touch_addbutton \"%s\" \"%s\" \"%s\" %f %f %f %f %d %d %d %d %d",
B(name), B(texturefile), newCommand,
B(x1), B(y1), B(x2), B(y2),