typecast it in the arguments ffs
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
|
||||
// Entered and Exited won't fire while you're dragging something, because you're still "holding" it
|
||||
// Very much byond logic, but I want nice behavior, so we fake it with drag
|
||||
/atom/movable/screen/movable/action_button/MouseDrag(atom/over_object, src_location, over_location, src_control, over_control, params)
|
||||
/atom/movable/screen/movable/action_button/MouseDrag(atom/over_object, atom/src_location, atom/over_location, src_control, over_control, params)
|
||||
. = ..()
|
||||
if(!can_use(usr))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user