Skip to content

Commit

Permalink
Implement cmd API for custom maps to disable tavern heroes
Browse files Browse the repository at this point in the history
  • Loading branch information
Slayer95 authored and SMUnlimited committed Nov 16, 2024
1 parent d99a9ca commit f60411d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common.eai
Original file line number Diff line number Diff line change
Expand Up @@ -8059,6 +8059,10 @@ function cmd_misc takes integer cmd, integer data returns nothing

elseif cmd == 73 then
set console_on = true

elseif cmd == 80 then
set nearest_neutral[NEUTRAL_TAVERN] = null
set recalculate_heros = true
endif

endfunction
Expand Down

0 comments on commit f60411d

Please sign in to comment.