p-kuen / PatchProtect

A Prop Protection for Garry's Mod
12 stars 10 forks source link

fix ternary operator #127

Closed d-kuen closed 7 years ago

d-kuen commented 7 years ago

made a mistake on https://github.com/Patcher56/PatchProtect/compare/master...ReturnEnd:patch-1

[ERROR] addons/patchprotect/lua/autorun/cppi.lua:89: 'end' expected (to close 'function' at line 87) near '?'

  1. unknown - addons/patchprotect/lua/autorun/cppi.lua:0
ReturnEnd commented 7 years ago

Thanks, You were asking what was using CPPI:CanPhysgun() and needed it to return true, in fact I had to tell my customers (https://scriptfodder.com/scripts/view/2779) that PProtect wasn't compatible with my script. It's now perfectly working, thanks again :)

d-kuen commented 7 years ago

No problem mate :)