clonk stops when a menu is opened

stable-5.1
Tobias Zwick 2010-03-26 15:43:17 +01:00
parent 3148d551fa
commit 6a40ba70c1
1 changed files with 3 additions and 2 deletions

View File

@ -1193,8 +1193,9 @@ func SetMenu(object m)
menu = m;
if (menu)
{
// we need to be notified when the ringmenu is gone
// stop clonk
SetComDir(COMD_Stop);
if (PlayerHasVirtualCursor(GetOwner()))
VirtualCursor()->StartAim(this);
else