Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 72997ab

Browse files
authored
Fixes mech access keycodes bein bjorken (#22511)
* fixa mecha accessa * probably not
1 parent 4a0cc73 commit 72997ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

code/game/mecha/mecha_topic.dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,13 @@
298298
if(href_list["add_req_access"])
299299
if(!(add_req_access && id_card))
300300
return
301-
operation_req_access += text2num(href_list["add_req_access"])
301+
operation_req_access += href_list["add_req_access"]
302302
output_access_dialog(id_card,usr)
303303

304304
if(href_list["del_req_access"])
305305
if(!(add_req_access && id_card))
306306
return
307-
operation_req_access -= text2num(href_list["del_req_access"])
307+
operation_req_access -= href_list["del_req_access"]
308308
output_access_dialog(id_card, usr)
309309

310310
if(href_list["finish_req_access"])

0 commit comments

Comments
 (0)