fixed widget closing for other players
This commit is contained in:
parent
c088a79041
commit
31cba03bba
@ -258,7 +258,7 @@ class ManialinkManager implements ManialinkPageAnswerListener, CallbackListener
|
|||||||
*/
|
*/
|
||||||
public function closeWidget($player, $widgetId = false) {
|
public function closeWidget($player, $widgetId = false) {
|
||||||
if (!$widgetId) {
|
if (!$widgetId) {
|
||||||
$this->hideManialink(self::MAIN_MLID);
|
$this->hideManialink(self::MAIN_MLID, $player);
|
||||||
$this->enableAltMenu($player);
|
$this->enableAltMenu($player);
|
||||||
|
|
||||||
// Trigger callback
|
// Trigger callback
|
||||||
|
Loading…
Reference in New Issue
Block a user