mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
fixes freeform boards being incredibly janky (#27208)
This commit is contained in:
@@ -216,7 +216,7 @@ AI MODULES
|
||||
/obj/item/aiModule/freeform/attack_self(mob/user as mob)
|
||||
..()
|
||||
var/new_lawpos = tgui_input_number(user, "Please enter the priority for your new law. Can only write to law sectors 15 and above.", "Law Priority", lawpos, MAX_SUPPLIED_LAW_NUMBER, MIN_SUPPLIED_LAW_NUMBER)
|
||||
if(isnull(new_lawpos) || new_lawpos == lawpos)
|
||||
if(isnull(new_lawpos))
|
||||
return
|
||||
lawpos = new_lawpos
|
||||
|
||||
|
||||
Reference in New Issue
Block a user