• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Why is this Leaking?

Status
Not open for further replies.
Level 14
Joined
Jan 15, 2007
Messages
349
Sure? Since when a function leak that return a bj?
JASS:
function GetLastCreatedUnit takes nothing returns unit
    return bj_lastCreatedUnit
endfunction
Also GetEnumUnit should'nt leak because it don't create a handle it just get units in a group. So I don't think that are the reasons for a leak, maybe you mean a lag. Then these functions could be the reason for it.
 
Status
Not open for further replies.
Top