mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 12:37:50 +01:00
Band-aids three runtimes (#4591)
* Runtime in dna_modifier.dm,330: Cannot read null.occupant * Runtime in Chemistry-Reagents.dm,47: Cannot execute null.remove reagent(). * Runtime in blood.dm,182: Division by zero * Compiled with the right map this time
This commit is contained in:
@@ -327,7 +327,7 @@
|
||||
*/
|
||||
/obj/machinery/computer/scan_consolenew/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1)
|
||||
|
||||
if(user == connected.occupant || user.stat)
|
||||
if(!connected || user == connected.occupant || user.stat)
|
||||
return
|
||||
|
||||
// this is the data which will be sent to the ui
|
||||
|
||||
Reference in New Issue
Block a user