This commit is contained in:
silicons
2020-07-18 18:51:16 -07:00
parent 1a040dd2a6
commit b1ccccb322
8 changed files with 13 additions and 22 deletions
+1 -5
View File
@@ -7,10 +7,6 @@
*/
/mob/living/silicon/robot/ClickOn(var/atom/A, var/params)
if(world.time <= next_click)
return
next_click = world.time + 1
if(check_click_intercept(params,A))
return
@@ -37,7 +33,7 @@
CtrlClickOn(A)
return
if(next_move >= world.time)
if(!CheckActionCooldown())
return
face_atom(A) // change direction to face what you clicked on