mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Laptop ID Computer Fix
The manifest should now be updated correctly when using laptops.
This commit is contained in:
@@ -311,11 +311,15 @@
|
|||||||
|
|
||||||
writer.assignment = t1
|
writer.assignment = t1
|
||||||
writer.name = text("[writer.registered_name]'s ID Card ([writer.assignment])")
|
writer.name = text("[writer.registered_name]'s ID Card ([writer.assignment])")
|
||||||
|
data_core.manifest_modify(writer.registered_name, writer.assignment)
|
||||||
|
callHook("reassign_employee", list(writer))
|
||||||
|
|
||||||
if("reg" in href_list)
|
if("reg" in href_list)
|
||||||
if(auth)
|
if(auth)
|
||||||
writer.registered_name = href_list["reg"]
|
writer.registered_name = href_list["reg"]
|
||||||
writer.name = text("[writer.registered_name]'s ID Card ([writer.assignment])")
|
writer.name = text("[writer.registered_name]'s ID Card ([writer.assignment])")
|
||||||
|
data_core.manifest_modify(writer.registered_name, writer.assignment)
|
||||||
|
callHook("reassign_employee", list(writer))
|
||||||
|
|
||||||
computer.updateUsrDialog()
|
computer.updateUsrDialog()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user