mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-21 12:09:48 +01:00
refactors point redemption vendors (#7005)
this is a quick one makes them less code copypaste-y and easier to modify in the future as i'll want to do some experimentation on the system when we start reworking explo
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
return
|
||||
switch(id)
|
||||
if("modify")
|
||||
return tgui_cardmod.ui_act(action, params, ui)
|
||||
return tgui_cardmod.ui_act(action, params, ui, new /datum/event_args/actor(usr))
|
||||
|
||||
/datum/computer_file/program/card_mod/ui_pre_open(datum/tgui/ui)
|
||||
ui.register_module(tgui_cardmod, "modify")
|
||||
|
||||
Reference in New Issue
Block a user