Skip to content

Commit

Permalink
Final fixes for 1.5.0-alpha3
Browse files Browse the repository at this point in the history
- Make titan command should be working as intended.
- Sotdrp chat should no longer desync.
  • Loading branch information
Son-Guhun committed Jun 21, 2020
1 parent b6fdf59 commit 1077c34
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion release/table/w3i.ini
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions release/trigger/07-Player Commands/29-CommandsR Make Titan.j
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion release/trigger/46-UI/5-IsMouseOnButton.j
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1077c34

Please sign in to comment.