Open Howtoadamin opened 3 years ago
This should be closed by https://github.com/alliedmodders/sourcemod/pull/2019 and https://github.com/alliedmodders/sourcemod/pull/1676 shouldn't it?
I think the erasing part is still open?
Oh when I read "Erase or Clear" I was thinking they were the same but yeah it looks like there still needs to be a method for erasing a single entry.
I just noticed the ArrayStack does not have the methods Peek, Erase or Clear.
So for peeking you basically have to pop and push to get the top value. Same with erasing, you need a variable to store the result from pop just to delete.