Fixed some manual control being allowed in code battles, closes #644

dev-time-step
krzys-h 2016-02-13 21:05:07 +01:00
parent 8ce5c3ab4c
commit 9b5d9ed893
1 changed files with 2 additions and 2 deletions

View File

@ -441,7 +441,7 @@ bool CObjectInterface::EventProcess(const Event &event)
err = ERR_OK; err = ERR_OK;
if ( !m_programmable->IsProgram() ) if ( !m_programmable->IsProgram() && m_main->CanPlayerInteract() )
{ {
if ( action == EVENT_OBJECT_HTAKE ) if ( action == EVENT_OBJECT_HTAKE )
{ {