[General] Protect a map will cause unit creating point leaks?

Status
Not open for further replies.
Level 1
Joined
Mar 27, 2016
Messages
5
Hello,guys, dun see this is my first post, i am not a newbie to WE. Yesterday, i protect my map, and i have nothing do, just doing some fun with deprotect my map again, and no unit appear on the main map(i consider it have been triggered by Create - Unit) and i see it is written in JASS, but i sèe a thousands of leaks, that is Create - Unit part, and it no to store the point and no remove location............................ LEAKS DETECTED!!!
Question: Did i protected the map will automatically have this trigger and cause leaks or after i deprotect the map?
 
When optimized, the optimizer converts all pre-placed units into the code, as you found. Instead of them being preplaced, they are created on map initiation with the CreateUnit action. However, it does not use locations to create these units but rather simple x/y coordinates, so no locations are created = no leaks.
 
Status
Not open for further replies.
Back
Top