mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Readded the click Catcher
To avoid losing the click catcher on the reloging there we go, proper credits to https://github.com/PsiOmegaDelta
This commit is contained in:
@@ -132,6 +132,6 @@
|
|||||||
|
|
||||||
mymob.client.screen = list()
|
mymob.client.screen = list()
|
||||||
mymob.client.screen += adding + other
|
mymob.client.screen += adding + other
|
||||||
// mymob.client.screen += mymob.client.void
|
mymob.client.screen += mymob.client.void
|
||||||
|
|
||||||
return
|
return
|
||||||
@@ -30,4 +30,4 @@
|
|||||||
mymob.client.screen = list()
|
mymob.client.screen = list()
|
||||||
mymob.client.screen += list( mymob.healths, mymob.fire) //, mymob.rest, mymob.sleep, mymob.mach )
|
mymob.client.screen += list( mymob.healths, mymob.fire) //, mymob.rest, mymob.sleep, mymob.mach )
|
||||||
mymob.client.screen += src.adding + src.other
|
mymob.client.screen += src.adding + src.other
|
||||||
// mymob.client.screen += mymob.client.void
|
mymob.client.screen += mymob.client.void
|
||||||
@@ -383,8 +383,8 @@ datum/hud/New(mob/owner)
|
|||||||
hud_used.persistant_inventory_update()
|
hud_used.persistant_inventory_update()
|
||||||
update_action_buttons()
|
update_action_buttons()
|
||||||
|
|
||||||
///mob/proc/add_click_catcher()
|
/mob/proc/add_click_catcher()
|
||||||
// client.screen += client.void
|
client.screen += client.void
|
||||||
|
|
||||||
///mob/new_player/add_click_catcher()
|
/mob/new_player/add_click_catcher()
|
||||||
// return
|
return
|
||||||
@@ -339,6 +339,7 @@
|
|||||||
|
|
||||||
mymob.client.screen += hud_elements
|
mymob.client.screen += hud_elements
|
||||||
mymob.client.screen += src.adding + src.hotkeybuttons
|
mymob.client.screen += src.adding + src.hotkeybuttons
|
||||||
|
mymob.client.screen += mymob.client.void
|
||||||
inventory_shown = 0
|
inventory_shown = 0
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -141,4 +141,4 @@
|
|||||||
mymob.client.screen = list()
|
mymob.client.screen = list()
|
||||||
|
|
||||||
mymob.client.screen += list(mymob.fire, mymob.healths, mymob.pullin, mymob.zone_sel, mymob.purged)
|
mymob.client.screen += list(mymob.fire, mymob.healths, mymob.pullin, mymob.zone_sel, mymob.purged)
|
||||||
// mymob.client.screen += mymob.client.void
|
mymob.client.screen += mymob.client.void
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ var/obj/screen/robot_inventory
|
|||||||
|
|
||||||
mymob.client.screen += list( mymob.throw_icon, mymob.zone_sel, mymob.oxygen, mymob.fire, mymob.hands, mymob.healths, mymob:cells, mymob.pullin, robot_inventory, mymob.gun_setting_icon)
|
mymob.client.screen += list( mymob.throw_icon, mymob.zone_sel, mymob.oxygen, mymob.fire, mymob.hands, mymob.healths, mymob:cells, mymob.pullin, robot_inventory, mymob.gun_setting_icon)
|
||||||
mymob.client.screen += src.adding + src.other
|
mymob.client.screen += src.adding + src.other
|
||||||
// mymob.client.screen += mymob.client.void
|
mymob.client.screen += mymob.client.void
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
@@ -157,7 +157,7 @@
|
|||||||
nanomanager.send_resources(src)
|
nanomanager.send_resources(src)
|
||||||
|
|
||||||
if(!void)
|
if(!void)
|
||||||
void = void.MakeGreed()
|
void = new()
|
||||||
screen += void
|
screen += void
|
||||||
|
|
||||||
if(prefs.lastchangelog != changelog_hash) //bolds the changelog button on the interface so we know there are updates.
|
if(prefs.lastchangelog != changelog_hash) //bolds the changelog button on the interface so we know there are updates.
|
||||||
|
|||||||
@@ -45,6 +45,6 @@
|
|||||||
client.eye = src
|
client.eye = src
|
||||||
client.perspective = MOB_PERSPECTIVE
|
client.perspective = MOB_PERSPECTIVE
|
||||||
reload_fullscreen() // Reload any fullscreen overlays this mob has.
|
reload_fullscreen() // Reload any fullscreen overlays this mob has.
|
||||||
// add_click_catcher()
|
add_click_catcher()
|
||||||
//set macro to normal incase it was overriden (like cyborg currently does)
|
//set macro to normal incase it was overriden (like cyborg currently does)
|
||||||
winset(src, null, "mainwindow.macro=macro hotkey_toggle.is-checked=false input.focus=true input.background-color=#D3B5B5")
|
winset(src, null, "mainwindow.macro=macro hotkey_toggle.is-checked=false input.focus=true input.background-color=#D3B5B5")
|
||||||
|
|||||||
Reference in New Issue
Block a user