mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Fixes a few issues with the PanDEMIC (#25452)
* additional check on strain length * Updated fix and bundle build * Refactor of ui_data * Removes unused variable * style adjustment * Revert to original fix, QoL adjustments
This commit is contained in:
@@ -163,9 +163,11 @@
|
||||
B.reagents.add_reagent("vaccine", 15, list(vaccine_type))
|
||||
if("eject_beaker")
|
||||
eject_beaker()
|
||||
update_static_data(ui.user)
|
||||
if("destroy_eject_beaker")
|
||||
beaker.reagents.clear_reagents()
|
||||
eject_beaker()
|
||||
update_static_data(ui.user)
|
||||
if("print_release_forms")
|
||||
var/strain_index = text2num(params["strain_index"])
|
||||
if(isnull(strain_index))
|
||||
@@ -202,6 +204,7 @@
|
||||
A.AssignName(new_name)
|
||||
for(var/datum/disease/advance/AD in GLOB.active_diseases)
|
||||
AD.Refresh()
|
||||
update_static_data(ui.user)
|
||||
if("switch_strain")
|
||||
var/strain_index = text2num(params["strain_index"])
|
||||
if(isnull(strain_index) || strain_index < 1)
|
||||
|
||||
Reference in New Issue
Block a user