comparison State.lua @ 80:40c882db34f8

Notes
author John@Yosemite-PC
date Fri, 13 Apr 2012 00:02:56 -0400
parents 7b8fcea357d2
children 62805e6b46c5
comparison
equal deleted inserted replaced
79:7b8fcea357d2 80:40c882db34f8
253 Comm:SendStateChange("RR",person,roll) 253 Comm:SendStateChange("RR",person,roll)
254 end 254 end
255 end 255 end
256 --}}} 256 --}}}
257 -- Close Bidding {{{ 257 -- Close Bidding {{{
258 function CloseBidding(packet) 258 function CloseBidding(packet) -- todo: does not clear enough state
259 local awardedTo = unpack(packet) 259 local awardedTo = unpack(packet)
260 if state == "bidding" then 260 if state == "bidding" then
261 state = "looting" 261 state = "looting"
262 AlertStateChangeListeners() 262 AlertStateChangeListeners()
263 -- todo: remove the item from the window, record history 263 -- todo: remove the item from the window, record history