mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Fixes 'note_path' var of 'airlock_note_placer' mapping helper (#92037)
## About The Pull Request This old mapping helper had a problem with loading notes supplied via its 'note_path' variable. ## Why It's Good For The Game The morgue memo note upon the morgue office door on Wawastation now appears. Here's me testing it on runtime with a different note...  ## Changelog 🆑 fix: fixed the 'note_path' var of the 'airlock_note_placer' mapping helper /🆑
This commit is contained in:
@@ -1094,7 +1094,9 @@ INITIALIZE_IMMEDIATE(/obj/effect/mapping_helpers/no_atoms_ontop)
|
||||
if(locate(/obj/machinery/door/airlock) in turf)
|
||||
var/obj/machinery/door/airlock/found_airlock = locate(/obj/machinery/door/airlock) in turf
|
||||
if(note_path)
|
||||
found_airlock.note = note_path
|
||||
var/obj/item/paper/paper = new note_path(src)
|
||||
found_airlock.note = paper
|
||||
paper.forceMove(found_airlock)
|
||||
found_airlock.update_appearance()
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user