mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-30 16:56:26 +01:00
Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
///Contains admin info. Null if client is not an admin.
|
||||
var/datum/admins/holder = null
|
||||
var/datum/click_intercept = null // Needs to implement InterceptClickOn(user,params,atom) proc
|
||||
///Time when the click was intercepted
|
||||
var/click_intercept_time = 0
|
||||
var/AI_Interact = 0
|
||||
|
||||
var/jobbancache = null //Used to cache this client's jobbans to save on DB queries
|
||||
@@ -78,6 +80,8 @@
|
||||
//These two vars are used to make a special mouse cursor, with a unique icon for clicking
|
||||
var/mouse_up_icon = null
|
||||
var/mouse_down_icon = null
|
||||
///used to override the mouse cursor so it doesnt get reset
|
||||
var/mouse_override_icon = null
|
||||
|
||||
var/ip_intel = "Disabled"
|
||||
|
||||
|
||||
@@ -876,6 +876,16 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
|
||||
return
|
||||
last_activity = world.time
|
||||
last_click = world.time
|
||||
//fullauto stuff
|
||||
/*
|
||||
if(!control)
|
||||
return
|
||||
*/
|
||||
if(click_intercept_time)
|
||||
if(click_intercept_time >= world.time)
|
||||
click_intercept_time = 0 //Reset and return. Next click should work, but not this one.
|
||||
return
|
||||
click_intercept_time = 0 //Just reset. Let's not keep re-checking forever.
|
||||
var/list/L = params2list(params)
|
||||
|
||||
if(L["drag"])
|
||||
|
||||
Reference in New Issue
Block a user