admins can change the serial number of a rolled up poster to change the poster decal type when applied. note that you'll need to change the name of the rolled up poster to reflect this if you want to avoid confusion

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael_Aislinn
2012-08-04 20:00:59 +10:00
parent 93f864083c
commit 8d4f6a8efe
+3
View File
@@ -242,6 +242,9 @@ obj/effect/decal/poster/attackby(obj/item/weapon/W as obj, mob/user as mob)
user << "<span class='notice'>You start placing the poster on the wall...</span>" //Looks like it's uncluttered enough. Place the poster.
//declaring D because otherwise if P gets 'deconstructed' we lose our reference to P.resulting_poster
if(P.resulting_poster != src.serial_number)
del P.resulting_poster
P.resulting_poster = new(src.serial_number)
var/obj/effect/decal/poster/D = P.resulting_poster
var/temp_loc = user.loc