# HG changeset patch # User John@Doomsday # Date 1331044384 18000 # Node ID 241986f7066cfc2e020c36e26eece9142b5ec08f # Parent 6d460ff2135cfcd82f0153a37b1992cbcb6fa440 Comments diff -r 6d460ff2135c -r 241986f7066c Lists.lua --- 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)