diff Lists.lua @ 7:241986f7066c

Comments
author John@Doomsday
date Tue, 06 Mar 2012 09:33:04 -0500
parents 6d460ff2135c
children b05fcb225c4a
line wrap: on
line diff
--- a/Lists.lua	Mon Mar 05 23:39:56 2012 -0500
+++ b/Lists.lua	Tue Mar 06 09:33:04 2012 -0500
@@ -11,7 +11,7 @@
 -- TODO: list trimming
 
 -- notes on list storage:
--- Storing names as I do now is atrocious.
+-- Using names as keys as I do now is atrocious.
 -- It prevents insertions (twss) to the middle of the list because then it acts
 -- as a side effect onto all the others. ie ABCD -> AXBCD would be phrased as
 -- "insert X and shift down B,C,D" which sucks. BCD haven't really been affected
@@ -215,7 +215,6 @@
     local arg = change.arg
     -- require admin
     local players = bsk.players
-    -- TODO: new struct is ordered list {main="breue",alts={},active=boolean}
     local name = arg.name
     local guid = arg.guid
     assert(players[guid]==nil)