Okay, im my card game when you play a card it gets deleted, but for everyone in the world that has this card too, theirs gets deleted also! Help.
obj/Cards
icon = 'Cards.dmi'
Click()
if(Turn == usr)
usr.PickUp()
world<<"[HTML2][Turn][HTML] plays [HTML2][src]"
Score += src.Value
Over()
locate(src in usr.Cards)
del(src)
ID:174847
Jul 15 2003, 7:34 am
|
|
Jul 15 2003, 7:38 am
|
|
That locate() proc is sort of redundant. If that's the main obj/card that you play with, you don't need locate(). del(src) should be just fine.
|