mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
VS: Fix random NIF bug
This commit is contained in:
@@ -53,13 +53,12 @@
|
||||
var/datum/hud/HUD = user.hud_used
|
||||
if(!screen_icon)
|
||||
screen_icon = new()
|
||||
RegisterSignal(screen_icon, COMSIG_CLICK, .proc/nif_menu_click)
|
||||
screen_icon.icon = HUD.ui_style
|
||||
HUD.other += screen_icon
|
||||
user.client?.screen += screen_icon
|
||||
|
||||
user.verbs |= /mob/living/carbon/human/proc/nif_menu
|
||||
|
||||
RegisterSignal(screen_icon, COMSIG_CLICK, .proc/nif_menu_click)
|
||||
|
||||
/datum/component/nif_menu/proc/nif_menu_click(atom/movable/screen/nif/image, location, control, params, user)
|
||||
var/mob/living/carbon/human/H = user
|
||||
|
||||
Reference in New Issue
Block a user