mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-16 05:02:42 +00:00
@@ -192,6 +192,9 @@
|
|||||||
if(!cleaning)
|
if(!cleaning)
|
||||||
var/confirm = alert(usr, "You are about to engage self-cleaning mode. This will fill your [src] with caustic enzymes to remove any objects or biomatter, and convert them into energy. Are you sure?", "Confirmation", "Self-Clean", "Cancel")
|
var/confirm = alert(usr, "You are about to engage self-cleaning mode. This will fill your [src] with caustic enzymes to remove any objects or biomatter, and convert them into energy. Are you sure?", "Confirmation", "Self-Clean", "Cancel")
|
||||||
if(confirm == "Self-Clean")
|
if(confirm == "Self-Clean")
|
||||||
|
if(cleaning)
|
||||||
|
return
|
||||||
|
else
|
||||||
cleaning = 1
|
cleaning = 1
|
||||||
drain(500)
|
drain(500)
|
||||||
processing_objects.Add(src)
|
processing_objects.Add(src)
|
||||||
|
|||||||
Reference in New Issue
Block a user