mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
Fix for unclickable everything.
(seems Neo missed a file when reverting) git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1041 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -200,9 +200,4 @@ var
|
||||
sqllogin = "root"
|
||||
sqlpass = ""
|
||||
|
||||
sqllogging = 0 // Should we log deaths, population stats, etc?
|
||||
|
||||
// Changing this will affect on how quickly players are allowed to click on things.
|
||||
// Measured in 1/10th of a second. Defaults to 10 = 1 sec. -- Skie
|
||||
// TODO: Make changable by admin command? I dunno.
|
||||
ClickDelay = 10
|
||||
sqllogging = 0 // Should we log deaths, population stats, etc?
|
||||
@@ -94,7 +94,6 @@
|
||||
var/m_int = null
|
||||
var/m_intent = "run"
|
||||
var/lastDblClick = 0
|
||||
var/next_click_queued = 0 // For one UI-click buffer system
|
||||
var/lastKnownIP = null
|
||||
var/obj/stool/buckled = null
|
||||
var/obj/item/weapon/handcuffs/handcuffed = null
|
||||
|
||||
@@ -216,7 +216,6 @@
|
||||
..()
|
||||
|
||||
|
||||
|
||||
if(usr.in_throw_mode)
|
||||
return usr:throw_item(src)
|
||||
|
||||
@@ -258,9 +257,9 @@
|
||||
|
||||
// world << "according to dblclick(), t5 is [t5]"
|
||||
if (((t5 || (W && (W.flags & 16))) && !( istype(src, /obj/screen) )))
|
||||
if (usr.next_move < world.time) // -- Removed due to Click Queue implementation -- Skie
|
||||
if (usr.next_move < world.time)
|
||||
usr.prev_move = usr.next_move
|
||||
usr.next_move = world.time + 1 // Was 10
|
||||
usr.next_move = world.time + 10
|
||||
else
|
||||
return
|
||||
if ((src.loc && (get_dist(src, usr) < 2 || src.loc == usr.loc)))
|
||||
@@ -373,8 +372,8 @@
|
||||
else
|
||||
if (istype(src, /obj/screen))
|
||||
usr.prev_move = usr.next_move
|
||||
if (usr.next_move < world.time) //-- Removed due to Click Queue implementation -- Skie
|
||||
usr.next_move = world.time + 1 // was 10
|
||||
if (usr.next_move < world.time)
|
||||
usr.next_move = world.time + 10
|
||||
else
|
||||
return
|
||||
if (!( usr.restrained() ))
|
||||
@@ -404,10 +403,6 @@
|
||||
return
|
||||
|
||||
|
||||
/atom/DblClick() // Does nothing.
|
||||
return
|
||||
|
||||
|
||||
/atom/proc/get_global_map_pos()
|
||||
if(!global_map.len) return
|
||||
var/cur_x = null
|
||||
|
||||
Reference in New Issue
Block a user