Fixed getting too much sand from a single tile by clicking really fast

This commit is contained in:
Miniature
2011-12-14 13:02:09 +10:30
parent 8695077f43
commit 79bb7bdf61

View File

@@ -320,7 +320,7 @@
playsound(src.loc, 'rustle1.ogg', 50, 1) //russle sounds sounded better playsound(src.loc, 'rustle1.ogg', 50, 1) //russle sounds sounded better
sleep(50) sleep(50)
if ((user.loc == T && user.equipped() == W)) if ((user.loc == T && user.equipped() == W) && !dug)
user << "\blue You dug a hole." user << "\blue You dug a hole."
gets_dug() gets_dug()
dug = 1 dug = 1