diff --git a/nano/templates/pda.tmpl b/nano/templates/pda.tmpl index 7b47bb09103..5ea77b60a8e 100644 --- a/nano/templates/pda.tmpl +++ b/nano/templates/pda.tmpl @@ -164,7 +164,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm {{/if}} {{/if}} {{:helper.link('Atmospheric Scan', 'gear', {'choice' : "3"}, null, 'fixedLeftWide')}} - {{:helper.link(fon==1 ? 'Disable Flashlight' : 'Enable Flashlight', 'lightbulb', {'choice' : "Light"}, null,'fixedLeftWide')}} + {{:helper.link(data.fon==1 ? 'Disable Flashlight' : 'Enable Flashlight', 'lightbulb', {'choice' : "Light"}, null,'fixedLeftWide')}} {{if data.pai}}