fixed widget closing for other players
This commit is contained in:
1 parent
c088a79041
commit
31cba03bba
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user