Merge pull request #31671 from kingofkosmos/altclickejectidfromcomputers

ID ejecting from computers by alt-clicking
This commit is contained in:
Jordan Brown
2017-10-14 19:47:52 -04:00
committed by GitHub
3 changed files with 78 additions and 40 deletions

View File

@@ -57,6 +57,7 @@
else
stored_card2 = I
to_chat(user, "<span class='notice'>You insert \the [I] into \the [src].</span>")
playsound(src, 'sound/machines/terminal_insert_disc.ogg', 50, 0)
return TRUE
@@ -93,6 +94,7 @@
P.event_idremoved(1, slot)
to_chat(user, "<span class='notice'>You remove the card[ejected>1 ? "s" : ""] from \the [src].</span>")
playsound(src, 'sound/machines/terminal_insert_disc.ogg', 50, 0)
return TRUE
return FALSE