mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 05:27:01 +01:00
One click queue system added, which affects gameplay completely.
Previously: After clicking on one thing, you could not click on another thing before 1 second had passed, and had to spam until 1 second had passed. Now: After one click, if there's a second click right after, it will be queued and executed automatically after the 1 second has passed. Tried to remove redundant DblClick() entries and changed them to QueueClick() where appropriate. Report for bugs. Updated change log. :-) git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1019 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -200,3 +200,8 @@ var
|
||||
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
|
||||
|
||||
@@ -93,7 +93,8 @@
|
||||
var/a_intent = "help"
|
||||
var/m_int = null
|
||||
var/m_intent = "run"
|
||||
var/lastDblClick = 0
|
||||
var/lastClick = 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
|
||||
|
||||
Reference in New Issue
Block a user