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:
Richard D'angelo
2016-06-18 16:39:21 -03:00
parent 7ab5220f64
commit 2de751a8ee
8 changed files with 11 additions and 10 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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")