Fix corner-case runtimes for removed jobs, other minor fixes (#94822)

* Fix runtimes in `/datum/id_trim` and when equipping corpses if a map's
.json file fully removes a job
* Remove unused `/datum/powernet/var/number`
* Fix ctrl+clicking a telescreen to mute it also activating it normally
* Unmark `_liver.dm` as executable
This commit is contained in:
Tad Hardesty
2026-01-12 17:51:24 -05:00
committed by GitHub
parent 5eec9d1906
commit e5e06aff43
7 changed files with 9 additions and 7 deletions
+3
View File
@@ -25,6 +25,9 @@
/datum/id_trim/job/New()
if(ispath(job))
job = SSjob.get_job_type(job)
if (isnull(job))
// Not a valid job. Maybe removed by the map.
return
if(isnull(job_changes))
job_changes = SSmapping.current_map.job_changes