mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 01:23:41 +01:00
A couple PDA tweaks
This commit is contained in:
@@ -435,7 +435,8 @@ var/global/list/obj/item/device/pda/PDAs = list()
|
||||
qdel(A)
|
||||
programs.Cut()
|
||||
if(cartridge)
|
||||
cartridge.forceMove(T)
|
||||
qdel(cartridge)
|
||||
cartridge = null
|
||||
return ..()
|
||||
|
||||
// Pass along the pulse to atoms in contents, largely added so pAIs are vulnerable to EMP
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -31,12 +31,7 @@ NanoStatePDAClass.prototype.onUpdate = function(data) {
|
||||
$("#uiApp").html(NanoTemplate.parse('app', data));
|
||||
state.current_template = template;
|
||||
|
||||
if(data['config']['status'] == 2) {
|
||||
$('#uiApp .linkActive').addClass('linkPending');
|
||||
$('#uiApp .linkActive').oneTime(400, 'linkPending', function () {
|
||||
$('#uiApp .linkActive').removeClass('linkPending inactive');
|
||||
});
|
||||
}
|
||||
state.onAfterUpdate(data);
|
||||
} catch(error) {
|
||||
reportError('ERROR: An error occurred while loading the PDA App UI: ' + error.message);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user