BlackNerubia
New Member
- Reaction score
- 12
Ok so im trying to fix a memory leak and cant get it to remove, i use Leak check and it shows as follows
Does any one know how to fix it?
Code:
------------------
(Line:1) Character Creation
(Line:2) Events
(Line:3) Dialog - A dialog button is clicked for CharacterDialog[1]
(Line:4) Dialog - A dialog button is clicked for CharacterDialog[2]
(Line:5) Dialog - A dialog button is clicked for CharacterDialog[3]
(Line:6) Dialog - A dialog button is clicked for CharacterDialog[4]
(Line:7) Dialog - A dialog button is clicked for CharacterDialog[5]
(Line:8) Dialog - A dialog button is clicked for CharacterDialog[6]
(Line:9) Dialog - A dialog button is clicked for CharacterDialog[7]
(Line:10) Dialog - A dialog button is clicked for CharacterDialog[8]
(Line:11) Conditions
(Line:12) (Clicked dialog button) Equal to CharacterDialogButtons[5]
(Line:13) Actions
(Line:14) Unit - Remove PlayerDemo[(Player number of (Triggering player))] from the game
(Line:15) Set Temp_Point = (Center of PlayerRegion[(Player number of (Triggering player))])
(Line:16) Unit - Create 1 PlayerCharacter[(Player number of (Triggering player))] for (Triggering player) at Temp_Point facing Default building facing degrees
(Line:17) Custom script: call RemoveRect(udg_Temp_Point)
(Line:18) Camera - Pan camera for (Triggering player) to Temp_Point over 0.00 seconds
------------------
Total lines: 18
Location variable has not been removed: Temp_Point
Completed
Total amount of leaks: 0
Leak Rating: Excellent
------------------
Does any one know how to fix it?