working on late join
This commit is contained in:
@@ -1991,6 +1991,8 @@ public:
|
||||
PlayerNumber pn = Enum::Check<PlayerNumber>(L, 1);
|
||||
if( lua_isnil(L,2) ) { p->m_pCurSteps[pn].Set( NULL ); }
|
||||
else { Steps *pS = Luna<Steps>::check(L,2); p->m_pCurSteps[pn].Set( pS ); }
|
||||
|
||||
// Why Broadcast again? This is double-broadcasting. -Chris
|
||||
MESSAGEMAN->Broadcast( (MessageID)(Message_CurrentStepsP1Changed+pn) );
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user