mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
[MIRROR] fix vorepanel button for AI (#11737)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
03fd0a5ef9
commit
0e057e99fb
@@ -118,18 +118,9 @@
|
||||
using.layer = SCREEN_LAYER
|
||||
HUD.adding += using
|
||||
|
||||
//PDA message
|
||||
//PDA Messenger
|
||||
using = new /atom/movable/screen()
|
||||
using.name = "PDA - Send Message"
|
||||
using.icon = HUD.ui_style
|
||||
using.icon_state = "pda_send"
|
||||
using.screen_loc = ui_ai_pda_send
|
||||
using.layer = SCREEN_LAYER
|
||||
HUD.adding += using
|
||||
|
||||
//PDA log
|
||||
using = new /atom/movable/screen()
|
||||
using.name = "PDA - Show Message Log"
|
||||
using.name = "PDA - Messenger"
|
||||
using.icon = HUD.ui_style
|
||||
using.icon_state = "pda_receive"
|
||||
using.screen_loc = ui_ai_pda_log
|
||||
|
||||
@@ -606,13 +606,7 @@
|
||||
var/mob/living/silicon/ai/ai_user = usr
|
||||
ai_user.ai_checklaws()
|
||||
|
||||
if("PDA - Send Message")
|
||||
if(isAI(usr))
|
||||
var/mob/living/silicon/ai/ai_user = usr
|
||||
ai_user.aiPDA.start_program(ai_user.aiPDA.find_program(/datum/data/pda/app/messenger))
|
||||
ai_user.aiPDA.cmd_pda_open_ui(usr)
|
||||
|
||||
if("PDA - Show Message Log")
|
||||
if("PDA - Messenger")
|
||||
if(isAI(usr))
|
||||
var/mob/living/silicon/ai/ai_user = usr
|
||||
ai_user.aiPDA.start_program(ai_user.aiPDA.find_program(/datum/data/pda/app/messenger))
|
||||
|
||||
Reference in New Issue
Block a user