forked from Mirrors/openclonk
do not pass controls to disabled cursor anymore (i.e. via SetCrewEnabled)
parent
cfd99b09a4
commit
b70d1f7e06
|
@ -26,6 +26,7 @@ global func PlayerControl(int plr, int ctrl, id spec_id, int x, int y, int stren
|
|||
// Forward control to cursor
|
||||
var cursor = GetCursor(plr);
|
||||
if (cursor)
|
||||
if (cursor->GetCrewEnabled())
|
||||
{
|
||||
// Object controlled by plr
|
||||
cursor->SetController(plr);
|
||||
|
|
Loading…
Reference in New Issue