[MIRROR] Make Cinematic verb cancellable (#655)

* Make Cinematic verb cancellable (#53411)

* Make Cinematic verb cancellable

Co-authored-by: Tad Hardesty <tad@platymuus.com>
This commit is contained in:
SkyratBot
2020-09-06 05:52:50 +02:00
committed by GitHub
co-authored by Tad Hardesty
parent 500cc7606b
commit eda2759f6c
+2 -2
View File
@@ -1,11 +1,11 @@
/client/proc/cinematic()
set name = "cinematic"
set name = "Cinematic"
set category = "Fun"
set desc = "Shows a cinematic." // Intended for testing but I thought it might be nice for events on the rare occasion Feel free to comment it out if it's not wanted.
set hidden = 1
if(!SSticker)
return
var/datum/cinematic/choice = input(src,"Cinematic","Choose",null) as anything in sortList(subtypesof(/datum/cinematic), /proc/cmp_typepaths_asc)
var/datum/cinematic/choice = input(src,"Cinematic","Choose",null) as null|anything in sortList(subtypesof(/datum/cinematic), /proc/cmp_typepaths_asc)
if(choice)
Cinematic(initial(choice.id),world,null)