diff --git a/release/table/w3i.ini b/release/table/w3i.ini index 1550a77..86d34c2 100644 --- a/release/table/w3i.ini +++ b/release/table/w3i.ini @@ -1,6 +1,6 @@ [map] file_version = 25 -map_version = 11982 +map_version = 11983 we_version = 6060 map_name = "Titan Land: LoP 1.5.0-alpha3" author_name = "Guhun" diff --git a/release/trigger/07-Player Commands/29-CommandsR Make Titan.j b/release/trigger/07-Player Commands/29-CommandsR Make Titan.j index 89cba8b..dfba177 100644 --- a/release/trigger/07-Player Commands/29-CommandsR Make Titan.j +++ b/release/trigger/07-Player Commands/29-CommandsR Make Titan.j @@ -5,9 +5,9 @@ private function OnCommand takes nothing returns boolean local player trigP = GetTriggerPlayer() if PlayerNumberIsNotNeutral(playerNumber) and (trigP == udg_GAME_MASTER or trigP == Player(0)) then - set udg_GAME_MASTER = ConvertedPlayer(playerNumber) - - if GetPlayerSlotState(udg_GAME_MASTER) == PLAYER_SLOT_STATE_PLAYING then + + if GetPlayerSlotState(Player(playerNumber - 1)) == PLAYER_SLOT_STATE_PLAYING then + set udg_GAME_MASTER = Player(playerNumber - 1) call SetUnitOwner(HERO_COSMOSIS(), udg_GAME_MASTER, false) if GetOwningPlayer(HERO_CREATOR()) != Player(PLAYER_NEUTRAL_PASSIVE) then diff --git a/release/trigger/46-UI/5-IsMouseOnButton.j b/release/trigger/46-UI/5-IsMouseOnButton.j index 24cb523..a66ce35 100644 --- a/release/trigger/46-UI/5-IsMouseOnButton.j +++ b/release/trigger/46-UI/5-IsMouseOnButton.j @@ -5,7 +5,6 @@ globals endglobals private function Callback takes nothing returns boolean - call BJDebugMsg("AA") if BlzGetTriggerFrameEvent() == FRAMEEVENT_MOUSE_ENTER then set Table(tab).boolean[GetPlayerId(GetTriggerPlayer())] = true else